Hi,
I've followed the guide on this link https://appwrite.io/docs/advanced/self-hosting/functions
And setup my env vars and created a new GitHub App according to it.
But when I try to create a sample function it sends me to the github I authorize and I get redirected back to my appwrite instance page for creating a new function.
From the appwrite container I can see:
[Error] Timestamp: 2024-01-26T09:57:22+00:00
[Error] Method: GET
[Error] URL: /v1/account/sessions/oauth2/:provider/redirect
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Failed to obtain access token. The GitHub OAuth2 provider returned an error: Not Found
[Error] File: /usr/src/code/app/controllers/api/account.php
[Error] Line: 489
[Error] Timestamp: 2024-01-26T10:00:07+00:00
[Error] Method: GET
[Error] URL: /v1/account/sessions/oauth2/:provider/redirect
[Error] Type: Utopia\Exception
[Error] Message: Invalid `state` param: Value must be a valid string and at least 1 chars and no longer than 2048 chars
[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
[Error] Line: 742
Recommended threads
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...