Hi guy, i try to make a grapql call (the token its...
# troubleshoot
f
Hi guy, i try to make a grapql call (the token its from datahub ui/setting/accces tokens
Copy code
curl -X POST '<link>/api/v2/graphql' \
--header 'Authorization: Bearer <token_from_datahub>' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"{\n  me {\n    corpUser {\n        username\n    }\n  }\n}","variables":{}}'
But returns 401 :(
its look like i need to use the gms ip, but in that case i dont neet auth token, its visible for everyoane