Able to query some of the entities using Odata API but for some entities it throws below error message-
Reproducing the Issue
Query the API Entity using a very simple Odata query like below and you will receive the same error message in response.
Some permissions are missing.
First thing we need to confirm is that whether the entity you are facing issues with is an MDF Entity.
Now in case it is an MDF Entity, please make sure it has below permissions along with the other API access permisions because MDF Objects need these special permissions.
KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , Problem