Can't get the project release files information as specified in the api documentation
Self-Hosted Version
25.8.0
CPU Architecture
x86_64
Docker Version
28.5.1
Docker Compose Version
2.40.2
Machine Specification
- [x] My system meets the minimum system requirements of Sentry
Steps to Reproduce
I try to get a project release files. But the api does not return the response I expect ( https://docs.sentry.io/api/releases/list-a-projects-release-files/ ) . Api return 200 but the response is an empty array ( [] )
Requests I made.
fetch("http://{SELF_HOSTED_SENTRY}/api/0/organizations/sentry/releases/frame-app@9f119513/files/",{ headers: { 'Authorization': 'Bearer TOKEN' } }).then(res=>res.json()).then(data=>console.log(data)).catch(err=>console.error(err));
fetch("http://{SELF_HOSTED_SENTRY}/api/0/projects/sentry/frame-app/releases/frame-app@9f119513/files/",{ headers: { 'Authorization': 'Bearer TOKEN' } }).then(res=>res.json()).then(data=>console.log(data)).catch(err=>console.error(err));
Release's files:
Ngnix Logs:
Expected Result
I expect the return release'es file information as specified in the API documentaion.
Ex:
[ { "dateCreated": "2018-11-06T21:20:22.894Z", "dist": null, "headers": { "Content-Type": "text/plain; encoding=utf-8" }, "id": "3", "name": "/demo/goodbye.txt", "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65", "size": 15 } ]
Actual Result
200 but empty array []
Event ID
No response
I have a hunch that the version is wrong here. Can you try list your organization's releases first?
fetch(`https://{SELF_HOSTED_SENTRY}/api/0/organizations/sentry/releases/`, {
method: "GET",
headers: {
'Authorization': 'Bearer TOKEN'
}
})
.then(response => response.json())
.then(data => {
const selected = data.filter(each => each.project.find(project => project.name === "frame-app") != null);
console.log(selected.map(release => ({
version: release.version,
shortVersion: release.shortVersion,
dateCreated: release.dateCreated,
})));
})
.catch(error => console.error(error));
I tried to get organizaton's releases.
Result: [ { dateCreated: "2025-11-14T06:35:08.368590Z" shortVersion: "frame-app@9f119513" version: "frame-app@9f119513" } ]
Can you help me with this issue?
Can you help me with this issue?
@ramazankayis Hi, what issue to be exact?
I tried to get organizaton's releases.
Result: [ { dateCreated: "2025-11-14T06:35:08.368590Z" shortVersion: "frame-app@9f119513" version: "frame-app@9f119513" } ]
@ZiyaKorol6 could it be that the @ character should be URL encoded?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀