Cannot generate installation access token even though installation id is correct #22978
-
I’m confused as to why I cannot generate an installation access token. See the below two commands:
However when I add _ access_tokens _ to the end of the url it returns the following:
Does anyone have any idea about this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thank you for being here! Could you please send us the full output of a That should help us investigate the issue. Also, please make sure you mask any sensitive information like OAuth tokens and Authorization headers in the output of the curl command. Please send the output to https://github.com/contact. And include a link to this thread to give support some background on the ticket. I hope this helps! Best, |
Beta Was this translation helpful? Give feedback.
-
This issue was solved because I made a mistake in the request, the
I just didn’t see the |
Beta Was this translation helpful? Give feedback.
-
Thanks so much, @hamelsmu for coming back to share what worked! |
Beta Was this translation helpful? Give feedback.
This issue was solved because I made a mistake in the request,
the
/access_tokens
endpoint should be accessed via aPOST
request, and I was usingGET
. Per the documentation, this is done withI just didn’t see the
POST
part when I was reading it. Thanks