Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

Adding a comment through GitHub API randomly returns error 404

Hi all,

 

I've been getting weird errors lately while working with GitHub API. Posting a comment through API sometimes succeeeds, and sometimes returns "404 Not Found" errors. All on the same repo using same credentials. Does anyone know what could be the reason for this behavior?

 

Thanks in advance!

 

EDIT: turned out this was application code-related, and requests were POSTed to wrong repository URLs. Nothing to do with GitHub API per se.

 

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: Adding a comment through GitHub API randomly returns error 404

Hi @siphiuel, Thanks for updating your post.  We're looking forward to seeing you around!


I hope this helps,
Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!