{"timestamp":1703726693.86,"category":"xhr","data":{"method":"GET","url":"https://cloud.appwrite.io/v1/vcs/github/installations/658ccc81e44d32e9fb97/providerRepositories","status_code":500},"type":"http"}],"modules":{"svelteKit":"latest"},"contexts":{"trace":{"trace_id":"0eb5febb61134bcf95ba346e98fea325","span_id":"90b788e678202886"}}}
Weird... Appwrite wasn't able to get any repos from GitHub on your behalf
What happens if you use the search query in that repo yourself?
It seems to work fine by myself. I generated a PAT and ran this curl -H "Authorization: Bearer github_pat_<REST_OF_KEY>" "https://api.github.com/search/repositories?q=user:leejustin"
and I got the expected payload with objects about my repository
Interestingly, if I try to create a function and tell it to create a new repo for me, it goes through. Looking for existing repos still has the same issue where it's not appearing.
Can you include the fork:true
?
q=user:leejustin%20fork:true
still returns successfully
So after Appwrite creates a repository on my behalf, I can't see that one either. Same error.
# providerRepositories
{"message":"Server Error","code":500,"type":"general_unknown","version":"0.12.29"}
Don't think this is very useful since the API is just doing a fetch for everything. But I figured that it'd be a datapoint anyways.
Hmm same error...
Does the response have an items key?
yeah. here's the payload with one of the repository payloads. Response code is 200
Maybe there's a bug with selecting only select repos?
I had changed the app permissions to all repositories and still get this error π¦
So I just tested and Appwrite was able to fetch my repos π§
π§ I uninstalled the GitHub app and revoked the permissions. Set it all up again from scratch. GitHub Appwrite app looks ok. Still get the same error.
Tried in Safari as well same issues. Thought maybe some ad blocker was implicitly blocking something.
FWIW, my GitHub account has 2FA on. But that shouldn't matter since my cURL request worked.
Ya, I have 2FA too
Btw, you're still able to use the CLI to deploy functions. You don't have to use the GitHub integration. I'll have to look more into this tomorrow
I've just been using the CLI to deploy. It would have been nice to use the GitHub integration, but I think it will come back to bite someone in the butt πΈ let me know if you need me to test anything but I guess this is low priority now for my personal use case.
soo I think the problem is you have "Make profile private and hide activity" checked in https://github.com/settings/profile. Here's the issue: https://github.com/appwrite/appwrite/issues/7352
Oh you're right. I do that have toggled. Thanks for looking into this! I forgot but I also didn't realize that would effect things.
i don't think it should. you gave access to the repo so the search should work...unless it's a bug with the github api π§
Just confirmed. Unchecking the top results in the GitHub repo list loading properly. So that is indeed the source of the issue.
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.