Error creating Query Insufficient permissions

I created a custom report, everything works fine when the range is kept within the last 7 days, trying to get further than 7 days results in the following error message "Error creating Query Insufficient permissions"


It may be a specific permission is missing here, I have a custom role so if I know exactly what is the permission in question, I could ask for adding it to that role

Solved Solved
0 3 476
1 ACCEPTED SOLUTION

I suspect the answer is you need permissions to execute this API call: https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/environments/%7Benv_nam... but to confirm that you should be able to see the exact API call your browser is making by looking at your browser's developer console.

View solution in original post

3 REPLIES 3

I suspect the answer is you need permissions to execute this API call: https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/environments/%7Benv_nam... but to confirm that you should be able to see the exact API call your browser is making by looking at your browser's developer console.

Thanks a million Christian, you hit the nail on the head, I've checked it and I can confirm getting 403 at the console of https://apigee.com/ws/organizations/<org>/environments/dev/queries

Still not sure yet what is the best way to address this, the report is fairly basic, not sure how to take the environments out of the equation, otherwise I may ask for access to environments as per https://docs.apigee.com/api-platform/troubleshoot/permissions/forbidden-errors

it works now when I got permission to /environments/*/queries