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
sure, trying it
Not working
What about the client secert?
added it, but same issue
I can try it later if ot works I can update you here
In url it is still showing the error, but finally it fetched the github repos
thank you @Binyamin @Steven for your time
I think the ip was creating problem, i have added the server ip to "IP allow list"
Recommended threads
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- How to use appwrite types
I am using appwrite types --language ts ./types to generate the types yielding something like: ``` import type { Models } from 'node-appwrite'; // This file i...
- Internal server Error when trying to exe...
When executing the function locally it works fine, but when the function is deployed I get this error: ```requests.exceptions.HTTPError: 500 Server Error: Inter...