I ran a simple graphql query ```mutation updateDat...
# troubleshoot
r
I ran a simple graphql query
Copy code
mutation updateDataset($input: DatasetUpdateInput!) {
it run success in datahub-frontend-react
localhost:9002/api/graphiql
but failed in metadata-service
localhost:8080/api/graphiql
with this log in datahub gms backend. Am I missing something?
👀 1
r
Any error in GMS?
r
yes, the log screenshot is in GMS
b
Hi @rough-garage-43684, as mentioned in the GraphQL Docs https://datahubproject.io/docs/api/graphql/overview you'll need to add a special header to indicate who is making the request
Please add this header to your CURL
Copy code
X-DataHub-Actor: urn:li:corpuser:datahub
Nonetheless this shouldn't cause an NPE -- we need to address this
r
Thank you very much @big-carpet-38439, add X-DataHub-Actor header worked! 😄 Agree on adressing this confusing NPE error.
🙌 1