GraphQL Cannot get organization auditLog #24406
-
I’m trying to fetch my organization audit logs using GraphQL queries. I followed this guide: https://github.blog/2019-06-21-the-github-enterprise-audit-log-api-for-graphql-beginners/ I made the this query (filled with my org-name, user-name):
With the following headers:
I receive this error:
My guess is that the preview header is use is ignored , and I cannot access the audit log preview feature? Anyone here encountered this issue before? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved this issue. Turns out the blog is a little outdated. The header should be “Accept”, and not “Accepts”. |
Beta Was this translation helpful? Give feedback.
Solved this issue.
Turns out the blog is a little outdated. The header should be “Accept”, and not “Accepts”.