Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

/api/1.x/cdns/{{ID}} gives incorrect response for non-existant IDs #2940

@ocket8888

Description

@ocket8888

requesting e.g. /api/1.3/cdns/999999999999999999 will respond with 200 OK and the response body:

{
	"response": []
}

The proper response to a request for the details of an object that doesn't exist is 404 NOT FOUND with an appropriate error message in the response body

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions