Getting 404 when creating Installation Token


#1

I’m following line for line the instructions here: https://developer.github.com/early-access/integrations/authentication/.

I’m able to get a JWT, but when i run the curl command, I’m getting back this response:

Server: GitHub.com
Date: Wed, 10 May 2017 19:27:07 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 87
Status: 404 Not Found
X-GitHub-Media-Type: github.machine-man-preview; format=json
Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Access-Control-Allow-Origin: *
Content-Security-Policy: default-src 'none'
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block

{
  "message": "Not Found",
  "documentation_url": "https://developer.github.com/v3"
}```

Any one else have trouble with creating an access token?

#3

Just wanted to mention that @anuccio1 reached out to GitHub Support about this as well and we were able to figure out what was the problem here – the :installation_id parameter was not defined correctly in the call to create the token (instead of the installation’s ID, the integration’s ID was passed in).


#4

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.