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

Getting 404 in the release definitions API #86

Closed
moredatapls opened this issue Apr 17, 2024 · 2 comments · Fixed by #89
Closed

Getting 404 in the release definitions API #86

moredatapls opened this issue Apr 17, 2024 · 2 comments · Fixed by #89

Comments

@moredatapls
Copy link
Contributor

Lately, we are seeing a lot of 404 errors in the release/definitions API. If I attempt to directly access the API (e.g. via the browser), I also get a 404 error. I tried API versions 5.1 and 7.1 and the error persists in both versions.

Does anybody know why this error occurs? Are other people also facing this error?

A log of the one of the errors (happens for many of our projects, i.e. various project IDs):

2024-04-17T12:51:40.640Z    error    azure-devops-exporter/metrics_deployment.go:81    response status code is 404 (expected 200), url: https://dev.azure.com/...org.../...projectid.../_apis/release/definitions?api-version=7.1&isDeleted=false&$top=100&$expand=environments,lastRelease    {"collector": "Deployment", "project": "...projectName..."}
@milanmayr
Copy link

I'm also facing this error

@moredatapls
Copy link
Contributor Author

I did some digging and it appears as there's a bug in the exporter. The release/definitions API is hosted under vsts.dev.azure.com, see here

However, the exporter calls dev.azure.com, as seen in the logs:

https://dev.azure.com/...org.../...projectid.../_apis/release/definitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants