GraphQL query returns ERROR for API Key with group for only Public Content #6907
Unanswered
wikiaap
asked this question in
Help / Questions
Replies: 1 comment
-
Mentioned in #6216 , mentioning here as well - you'll need the Manage Page permissions for your API key - that seems to be the permission graphql is looking for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
API Key with limited Access for Public Content
- ReadPages & ReadAssets permissions for public pages
Error: INTERNAL_SERVER_ERROR
Message: PageViewForbidden 6013: You are not authorized to view this page
{"errors":[{"message":"You are not authorized to view this page.","locations":[{"line":3,"column":5}],"path":["pages","single"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"stack":"PageViewForbidden 6013: You are not authorized to view this page.\n at single (/home/xxx/xxx/server/graph/resolvers/page.js:167:17)\n at runMicrotasks ()\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","code":6013,"message":"You are not authorized to view this page."}}}],"data":{"pages":{"single":null}}}
API Key with FULL access
Works Great
Beta Was this translation helpful? Give feedback.
All reactions