Skip to content

Can't get the project release files information as specified in the api documentation #4039

@ZiyaKorol6

Description

@ZiyaKorol6

Self-Hosted Version

25.8.0

CPU Architecture

x86_64

Docker Version

28.5.1

Docker Compose Version

2.40.2

Machine Specification

  • 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:

Image

Ngnix Logs:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions