{"action":"created","issue":{"url":"https://api.github.com/repos/hasura/docs/issues/365","repository_url":"https://api.github.com/repos/hasura/docs","labels_url":"https://api.github.com/repos/hasura/docs/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/hasura/docs/issues/365/comments","events_url":"https://api.github.com/repos/hasura/docs/issues/365/events","html_url":"https://github.com/hasura/docs/issues/365","id":294377549,"number":365,"title":"Expected X-Hasura-Base-Domain header","user":{"login":"CYBONYMOUS","id":30555277,"avatar_url":"https://avatars2.githubusercontent.com/u/30555277?v=4","gravatar_id":"","url":"https://api.github.com/users/CYBONYMOUS","html_url":"https://github.com/CYBONYMOUS","followers_url":"https://api.github.com/users/CYBONYMOUS/followers","following_url":"https://api.github.com/users/CYBONYMOUS/following{/other_user}","gists_url":"https://api.github.com/users/CYBONYMOUS/gists{/gist_id}","starred_url":"https://api.github.com/users/CYBONYMOUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CYBONYMOUS/subscriptions","organizations_url":"https://api.github.com/users/CYBONYMOUS/orgs","repos_url":"https://api.github.com/users/CYBONYMOUS/repos","events_url":"https://api.github.com/users/CYBONYMOUS/events{/privacy}","received_events_url":"https://api.github.com/users/CYBONYMOUS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ecthiender","id":616387,"avatar_url":"https://avatars0.githubusercontent.com/u/616387?v=4","gravatar_id":"","url":"https://api.github.com/users/ecthiender","html_url":"https://github.com/ecthiender","followers_url":"https://api.github.com/users/ecthiender/followers","following_url":"https://api.github.com/users/ecthiender/following{/other_user}","gists_url":"https://api.github.com/users/ecthiender/gists{/gist_id}","starred_url":"https://api.github.com/users/ecthiender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecthiender/subscriptions","organizations_url":"https://api.github.com/users/ecthiender/orgs","repos_url":"https://api.github.com/users/ecthiender/repos","events_url":"https://api.github.com/users/ecthiender/events{/privacy}","received_events_url":"https://api.github.com/users/ecthiender/received_events","type":"User","site_admin":false},"assignees":[{"login":"ecthiender","id":616387,"avatar_url":"https://avatars0.githubusercontent.com/u/616387?v=4","gravatar_id":"","url":"https://api.github.com/users/ecthiender","html_url":"https://github.com/ecthiender","followers_url":"https://api.github.com/users/ecthiender/followers","following_url":"https://api.github.com/users/ecthiender/following{/other_user}","gists_url":"https://api.github.com/users/ecthiender/gists{/gist_id}","starred_url":"https://api.github.com/users/ecthiender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecthiender/subscriptions","organizations_url":"https://api.github.com/users/ecthiender/orgs","repos_url":"https://api.github.com/users/ecthiender/repos","events_url":"https://api.github.com/users/ecthiender/events{/privacy}","received_events_url":"https://api.github.com/users/ecthiender/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-02-05T12:34:09Z","updated_at":"2018-02-14T12:07:34Z","closed_at":null,"author_association":"NONE","body":"I am using the internal endpoints to contact the auth service from within another service and the headers I sent are:\r\nheaders = {\r\n        \"Content-Type\": \"application/json\",\r\n        \"X-Hasura-User-Id\": '0',\r\n        \"X-Hasura-Role\": \"admin\"\r\n         }\r\nas mentioned in the docs.\r\nHow ever I got an error saying:\r\nb'{\"code\":\"unexpected-state\",\"message\":\"Expected X-Hasura-Base-Domain header\",\"detail\":null}'\r\nI've searched for this error and was unable to find it.\r\nPlease look into this."},"comment":{"url":"https://api.github.com/repos/hasura/docs/issues/comments/365588026","html_url":"https://github.com/hasura/docs/issues/365#issuecomment-365588026","issue_url":"https://api.github.com/repos/hasura/docs/issues/365","id":365588026,"user":{"login":"CYBONYMOUS","id":30555277,"avatar_url":"https://avatars2.githubusercontent.com/u/30555277?v=4","gravatar_id":"","url":"https://api.github.com/users/CYBONYMOUS","html_url":"https://github.com/CYBONYMOUS","followers_url":"https://api.github.com/users/CYBONYMOUS/followers","following_url":"https://api.github.com/users/CYBONYMOUS/following{/other_user}","gists_url":"https://api.github.com/users/CYBONYMOUS/gists{/gist_id}","starred_url":"https://api.github.com/users/CYBONYMOUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CYBONYMOUS/subscriptions","organizations_url":"https://api.github.com/users/CYBONYMOUS/orgs","repos_url":"https://api.github.com/users/CYBONYMOUS/repos","events_url":"https://api.github.com/users/CYBONYMOUS/events{/privacy}","received_events_url":"https://api.github.com/users/CYBONYMOUS/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T12:07:34Z","updated_at":"2018-02-14T12:07:34Z","author_association":"NONE","body":"But the auth token keeps changing"}}
{"actor":{"display_login":"CYBONYMOUS"}}