Back

[SOLVED] Cant create function with github integration

  • 0
  • Functions
Drake
15 Sep, 2023, 17:39

im assuming you get to this after clicking on GitHub from Appwrite? can you click save down below?

TL;DR
User was experiencing difficulty creating a function with GitHub integration. Another user suggested checking the order of permissions and mentioned that GitHub may revert the order. A user provided a video tutorial for setting up GitHub integration with Appwrite. The original user mentioned receiving a similar error and provided the error URL. Another user suggested double-checking app permissions and reinstalling the app in GitHub installations. The discussion includes some comments about documentation and instructions for creating a new repo and configuring the private key and app visibility. The final message mentions checking the callback URLs and clicking the save button in Appwrite after selecting GitHub integration. No solution is explicitly mentioned.
armanhadi
15 Sep, 2023, 18:26

I clicked on save button already just page reload and nothing

Drake
15 Sep, 2023, 18:29

are the callback urls you added in github the same order as listed in the docs?

armanhadi
15 Sep, 2023, 18:31
armanhadi
15 Sep, 2023, 18:31

You mean these urls ?

Drake
15 Sep, 2023, 18:44

yes.

"Request user authentication (OAuth) during installation " should be checked

Drake
15 Sep, 2023, 18:44

and redirect on update

armanhadi
15 Sep, 2023, 18:45

Is that on the documentation ? 🤔

armanhadi
15 Sep, 2023, 18:46

Or it is just expected that we should know that

Drake
15 Sep, 2023, 18:46
armanhadi
15 Sep, 2023, 18:48

Thank you so much , I read doc multiple times but I didn't notes that , please for others make it like a point step by step in the doc so they don't miss

armanhadi
15 Sep, 2023, 18:49

and the app should be made public that is not on the Doc I think

armanhadi
15 Sep, 2023, 18:50

Also the the private key be in one line

Drake
15 Sep, 2023, 18:51

ah ya. that will be released soon. https://github.com/appwrite/docs/pull/429

armanhadi
15 Sep, 2023, 18:52

Thanks , good and clear doc help us all

armanhadi
15 Sep, 2023, 19:29

This is what I get

armanhadi
15 Sep, 2023, 19:29

This is for creating new repo

Drake
15 Sep, 2023, 20:04

did you double check the permissions on your app? maybe try uninstalling and reinstalling it in your github installations

Bill.IHCha
17 Sep, 2023, 10:07

I got a similar error: and here is the url: xxxxx?from=github&to=cover&error=%7B"message"%3A"Failed+to+obtain+access+token.+The+GitHub+OAuth2+provider+returned+an+error%3A+Not+Found"%2C"type"%3A"user_oauth2_provider_error"%2C"code"%3A404%7D# It just redirect back to the page where I got redirected. Any idea?

safwan
17 Sep, 2023, 10:23

I've made a 20 min video to setup Github integration with Appwrite. There might be a few things you're missing, which is why you get the errors.

Feel free to look at the video, and see if it helps!

Video Here

Bill.IHCha
17 Sep, 2023, 11:47

The problem for me was the order wasn't correct. I have checked the order 3 times and changed it. didn't realise GitHub revert the order for some reason. But thanks

armanhadi
18 Sep, 2023, 07:58

This is really good thanks

Drake
18 Sep, 2023, 16:50

can this be marked as solved now?

armanhadi
18 Sep, 2023, 17:48

Yes sure

Drake
18 Sep, 2023, 18:04

[SOLVED] Cant create function with github integration

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