Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Issue Not Found #83

Closed
bkeepers opened this issue Jan 2, 2018 · 3 comments
Closed

Issue Not Found #83

bkeepers opened this issue Jan 2, 2018 · 3 comments

Comments

@bkeepers
Copy link
Contributor

bkeepers commented Jan 2, 2018

https://sentry.io/probot/stale/issues/371116657/

{
  "message":"Not Found",
  "documentation_url":"https://developer.github.com/v3/issues/#get-a-single-issue"
}

It's likely coming from

stale/index.js

Line 28 in 44c7a9c

issue = (await context.github.issues.get(context.issue())).data
, and if I had to guess, it happens when an issue is first opened. There's a known GitHub issue where webhooks get delivered faster than data is written to database replicas, so when you try to fetch data that was just created, it doesn't exist in the read replica and returns a 404.

If that is the case, it's safe to catch this error and just ignore it.

@subrat-sahu
Copy link

@bkeepers Can I work on this issue?

@bkeepers
Copy link
Contributor Author

@subrat-sahu yes, anyone is welcome to work on it!

@AshanthaLahiru
Copy link
Contributor

Couldn't reproduce the exact error. Hope this will be helpful.

@tcbyrd tcbyrd closed this as completed Apr 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants