Back

Github Bad Credentials: No description

  • 0
  • Self Hosted
  • Functions
AwesomeTaco
23 Mar, 2025, 21:05

Got a new server and wanted to install a fresh instance of appwrite 1.6.1. Setting up Github for functions and I am getting Bad Credentials: No description

Running this: docker-compose logs -f appwrite I am seeing this in the logs: appwrite | [Error] Timestamp: 2025-03-23T21:01:13+00:00 appwrite | [Error] Method: POST appwrite | [Error] URL: /v1/vcs/github/installations/:installationId/providerRepositories appwrite | [Error] Type: Appwrite\Auth\OAuth2\Exception appwrite | [Error] Message: Bad credentials: No description appwrite | [Error] File: /usr/src/code/src/Appwrite/Auth/OAuth2.php appwrite | [Error] Line: 212

I have tripled checked the settings, not sure why this is coming up.

TL;DR
Developers are facing "Bad Credentials: No description" issue when setting up Github for functions in a new server with appwrite 1.6.1. Despite creating a new private key correctly, the problem persists. The logs show the error as "Bad credentials: No description." The potential solution is to check if the GitHub token or key being used is expired.
Korbs
23 Mar, 2025, 21:08

The GitHub token or key you're using may be expired?

AwesomeTaco
23 Mar, 2025, 21:17

I created a new private key and still the same issue. Made sure it is single line with double quotes. "-----BEGIN RSA PRIVATE KEY-----\nMII[...]3Ie2\n-----END RSA PRIVATE KEY-----"

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more