-
Notifications
You must be signed in to change notification settings - Fork 0
Implementation issues
ronan edited this page Jul 15, 2021
·
2 revisions
A common issue that you may run into when working with the GitHub API is that you receive the below response:
Response code: 403 (Forbidden)
Response Body:
Request forbidden by administrative rules. Please make sure your request has a User-Agent headerThis is a specific issue with the GitHub API, more details on the solution can be found here.
To resolve the issue, add the following as the User-Agent header when making requests:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 YaBrowser/16.3.0.7146 Yowser/2.5 Safari/537.36