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

Occasional signwebhook error, how to handle? #99

Open
2 tasks
filmaj opened this issue Oct 18, 2019 · 0 comments
Open
2 tasks

Occasional signwebhook error, how to handle? #99

filmaj opened this issue Oct 18, 2019 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@filmaj
Copy link
Contributor

filmaj commented Oct 18, 2019

Occasionally the signwebhook errors with something along the lines of:

            "body": "Error retrieving GitHub API instance on behalf of app installation for hubblestack: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}\nError retrieving GitHub API instance on behalf of app installation for AdobeDocs: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}\nError retrieving GitHub API instance on behalf of app installation for adobe: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}\nError retrieving GitHub API instance on behalf of app installation for magento: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}",

The key bit is this:

The listed users cannot be searched either because the users do not exist or you do not have permission to view the users.

  • First, we should improve this error reporting by also reporting back which user was searched.
  • As a future/second phase, if it DOES turn out to be something around a bad username provided, such as one that does not exist, could we validate this is the case by first ensuring all usernames provided in the agreement exist before attempting to work with GitHub's search API?
@filmaj filmaj added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant