-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Labels: support
Describe the bug
When requesting deployment info for a non-existent deployment, the API returns HTTP 500, while the response body correctly indicates not found. This breaks expected HTTP semantics and client-side error handling.
- account address =
akash1x5sp0raswdrum5en9l4htyetkcj6teuu8sucu - deployment sequence =
24793434 - deploy.yaml = not available
- group sequence = not available / unknown
Endpoint:
GET /akash/deployment/v1beta4/deployments/info
Example:
To Reproduce
- Call the deployments info endpoint with a non-existent deployment sequence.
- Observe response body indicates “not found”.
- Check HTTP status code.
- Status code is 500.
Expected behavior
The API should return HTTP 404 (Not Found) when the deployment record does not exist.
Screenshots
See Slack thread showing 500 status with a “not found” response body.
Desktop
- OS: Unknown
- Browser: Unknown
- Version: Unknown
Smartphone
Not applicable.
Additional context
- Confirmed internally as a backend bug.
- Marked as a quick fix by maintainers.
- Client-side workaround is not recommended.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress (prioritized)