#404 Error While Git installation to your project
38 messages · Page 1 of 1 (latest)
you need node-18 runtime enabled https://appwrite.io/docs/configuration#functions
Didn't notice that one 👍
Sorry, I was not configured github, but after following the steps it is giving oauth2 error
Failed to obtain access token. The GitHub OAuth2 provider returned an error Not Found type user_oauth2_provider_error code 404
After doing all steps it is showing - user_oauth2_provider_error code 404, any idea
Have you updated all the environment variables and reloading your docker compose?
yes
I have doubt about private key, it will start with SHA256: or without it??
What you mean
How long is your key?
45 chars
The key should start with -----BEGIN RSA PRIVATE KEY-----
That is the SHA256 hash of the key
Check if you downloaded a file and copy is value
oh, should i need to pass .pem file path or paste the key
Paste, I think
sure
Yes just paste the key
same issue, i have pasted it in "<key>", in multiline
I havne't done that yet in my instance so I'm not sure
okay, will try again
another thing you should do is uninstall the github app from your account (https://github.com/settings/installations) and try the flow again
I have done this also, can you please give the demo screenshot how to use private key?
also make sure the callback urls are the same order as mentioned in the docs
_APP_GITHUB_PRIVATE_KEY_OR_WHATEVER="-----BEGIN RSA PRIVATE KEY-----\nanotherline\nanother\n----END RSA KEY or whatever the footer is"
multiline also works...but may get screwed up during upgrades
What about the client secert?
added it, but same issue
I can try it later if ot works I can update you here