github-project icon indicating copy to clipboard operation
github-project copied to clipboard

Ignore "Content already exists in this project" error

Open gr2m opened this issue 2 years ago • 0 comments

Please avoid duplicates

  • [X] I checked all open bugs and none of them matched my problem.

Reproducible test case

No response

Please select the environment(s) that are relevant to your bug report

  • [ ] Browsers
  • [ ] Node
  • [ ] Deno

Versions

latest

What happened?

I haven't tried to reproduce it, but I got this error in a production app:

GraphqlResponseError: Request failed due to following response errors:
 - Content already exists in this project

I assume it occurs when trying to add an issue or pull requse to a project that was already added, but I thought that theGraphQL API is already handling that gracefully. Maybe there is some racing condition?

Would you be interested in contributing a fix?

  • [ ] yes

gr2m avatar Dec 05 '22 19:12 gr2m