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": {}
}
}
]
}