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

Branch detail API returns 500 error #251

Closed
drazisil-codecov opened this issue Jan 30, 2024 Discussed in #250 · 3 comments
Closed

Branch detail API returns 500 error #251

drazisil-codecov opened this issue Jan 30, 2024 Discussed in #250 · 3 comments
Labels
bug For issues and unexpected behaviors

Comments

@drazisil-codecov
Copy link

Discussed in #250

Originally posted by kitsuyui January 29, 2024
I've tried to use the Codecov branch detail API to get the coverage of a specific branch, but it seems that the API doesn't work as expected.
https://docs.codecov.com/reference/repos_branches_retrieve

Folliwng the example, I tried to get the coverage of the main branch of the codecov-demo repo, but it returns a 500 error.
(I've also tried with using Authorization header, but it returns the same error. It may not be related to the authentication.)

curl --request GET \
     --url https://api.codecov.io/api/v2/github/codecov/repos/codecov-demo/branches/main/
{"error": "Server Error (500)"}
@covecod covecod bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Jan 30, 2024
@drazisil-codecov
Copy link
Author

Thanks for raising , @kitsuyui,

I'm taking a look...

@drazisil-codecov drazisil-codecov moved this from Waiting for: Product Owner to Waiting for: Support in GitHub Issues with 👀 Jan 30, 2024
@drazisil-codecov drazisil-codecov added the bug For issues and unexpected behaviors label Jan 30, 2024
@drazisil-codecov
Copy link
Author

This should be fixed via codecov/codecov-api#368, can you please confirm it is working, @kitsuyui?

@drazisil-codecov drazisil-codecov moved this from Waiting for: Support to Waiting for: Community in GitHub Issues with 👀 Jan 30, 2024
@kitsuyui
Copy link

@drazisil-codecov
Thank you. I have confirmed that it works as expected!

@covecod covecod bot moved this from Waiting for: Community to Waiting for: Product Owner in GitHub Issues with 👀 Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues and unexpected behaviors
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

2 participants