Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: No repos visible after connecting GitHub #7352

Open
2 tasks done
stnguyen90 opened this issue Dec 29, 2023 · 0 comments
Open
2 tasks done

🐛 Bug Report: No repos visible after connecting GitHub #7352

stnguyen90 opened this issue Dec 29, 2023 · 0 comments
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@stnguyen90
Copy link
Contributor

stnguyen90 commented Dec 29, 2023

👟 Reproduction steps

  1. Go to https://github.com/settings/profile
  2. Check "Make profile private and hide activity"
  3. Go to Appwrite
  4. Connect to GitHub
  5. Create a function

👍 Expected behavior

The list of repos show.

👎 Actual Behavior

No repos show:

image

Looking at the logs, Appwrite threw "Repositories list missing in the response.".

The response from GitHub is:

array (
  'headers' => 
  array (
    'server' => 'GitHub.com',
    'date' => 'Fri, 29 Dec 2023 00:39:06 GMT',
    'content-type' => 'application/json; charset=utf-8',
    'content-length' => '360',
    'cache-control' => 'no-cache',
    'vary' => 'Accept-Encoding, Accept, X-Requested-With',
    'x-github-media-type' => 'github.v3; format=json',
    'x-github-api-version-selected' => '2022-11-28',
    'x-ratelimit-limit' => '30',
    'x-ratelimit-remaining' => '29',
    'x-ratelimit-reset' => '1703810406',
    'x-ratelimit-used' => '1',
    'x-ratelimit-resource' => 'search',
    'access-control-expose-headers' => 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
    'access-control-allow-origin' => '*',
    'strict-transport-security' => 'max-age=31536000; includeSubdomains; preload',
    'x-frame-options' => 'deny',
    'x-content-type-options' => 'nosniff',
    'x-xss-protection' => '0',
    'referrer-policy' => 'origin-when-cross-origin, strict-origin-when-cross-origin',
    'content-security-policy' => 'default-src \'none\'',
    'x-github-request-id' => 'FDC1:6342:17FE11D:18F3C36:658E152A',
    'status-code' => 422,
  ),
  'body' => 
  array (
    'message' => 'Validation Failed',
    'errors' => 
    array (
      0 => 
      array (
        'message' => 'The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.',
        'resource' => 'Search',
        'field' => 'q',
        'code' => 'invalid',
      ),
    ),
    'documentation_url' => 'https://docs.github.com/v3/search/',
  ),
)

Related thread: https://discord.com/channels/564160730845151244/1189742321353367683

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@stnguyen90 stnguyen90 added bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions. labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

No branches or pull requests

1 participant