CMA API doesn't work for Primary Environment

While calling items.find on the datoCMAClient, the call fails with 404, INVALID_ENVIRONMENT for Primary Environment. We’ve locked the edits for Primary environment but it should still allow GET calls for the APIs.

Raw response
GET https://site-api.datocms.com/items/I9GAImPkTwerLy243YH5HQ

{
    "data": [
        {
            "id": "ed93be",
            "type": "api_error",
            "attributes": {
                "code": "INVALID_ENVIRONMENT",
                "details": {}
            }
        }
    ]
}

Hi @apoorv.kansal,

We’ve answered this same message via email, so let’s follow up there, ok? :slight_smile: