Back

Cloud functions - Github Connection leads to Error 409

  • 0
  • Functions
  • Cloud
Seroga88i
27 Jul, 2024, 14:47

Hello appwrite community,

I have a cloud appwrite free account. I want to setup a functions and connect it with Github. In another project of that same account I could do that without any problems. Now I want to create a second function and a Github connection and when I open Github it shows me that appwrite is already activated for my Github account. When I click save i get redirected and I see an error 409 document_already_exists. Can you tell me how I can setup functions in different applications but with the same Github account? Kind regards

TL;DR
Developers experiencing error 409 when trying to set up Cloud functions in Appwrite using the same GitHub account. Solution: Creating directories within the repo for each function and adding the folder name when setting the function endpoint. No need for multiple connections.
Steven
27 Jul, 2024, 14:50

Did you ever change your GitHub account email?

skinnyK
27 Jul, 2024, 14:50

the best way I saw was in the tutorial earlier today. just create directories within that repo for each function. then when setting your function endpoint you just add the folder name it should look inside

skinnyK
27 Jul, 2024, 14:51

you don't need multiple connections to have multiple functions

Seroga88i
27 Jul, 2024, 14:52

Far in the past I change my email address, before even using appwrite

Seroga88i
27 Jul, 2024, 14:52

I do not see this screen, I am forced to connect again to Github Actually I did expect that it will me show this screen, as I am connect already

Steven
27 Jul, 2024, 14:53

Toggle a setting so that the save/update button becomes active. Then, click it

skinnyK
27 Jul, 2024, 14:53

yeah you can just go into the settings for your function, and open the git settings dropdown

skinnyK
27 Jul, 2024, 14:55
Seroga88i
27 Jul, 2024, 14:56

I am stuck here

Steven
27 Jul, 2024, 14:57

Click "Next" 😜

skinnyK
27 Jul, 2024, 14:57

add to existing 🙂

skinnyK
27 Jul, 2024, 14:57

you had a repo from before, right?

Seroga88i
27 Jul, 2024, 14:58
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