Can’t generate Installation Access Token #21904
-
I followed this documentation to generate an installation access token but I getht this response: { I have a feeling the issue might be with my instalaltion_id. Can anybody confirm where I should get this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @paul-carron, This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information. As you’ll notice, your Topic is now in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here. Let me know if you have any other questions or if I can help with anything else. Cheers! |
Beta Was this translation helpful? Give feedback.
-
curl -i -X POST \ { There you go. I suspect I may not have the correct installation_id in my URL. I used owner.id which I got from here: curl -i -H “Authorization: Bearer token” -H “Accept: application/vnd.github.machine-man-preview+json” https://api.github.com/app { If this is incorrect, where should the installation_id come from? |
Beta Was this translation helpful? Give feedback.
-
In order to list your application installations, including the installation ID used for this endpoint, use the /app/installations endpoint documented here: https://developer.github.com/v3/apps/#find-installations |
Beta Was this translation helpful? Give feedback.
In order to list your application installations, including the installation ID used for this endpoint, use the /app/installations endpoint documented here: https://developer.github.com/v3/apps/#find-installations