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/not_a_number_or_route Gives an Incorrect Error Message #2939

@ocket8888

Description

@ocket8888

If you request that path on a Traffic Ops instance, the response will be

{
	"alerts": [
		{
			"text": "id cannot parse to integer",
			"level": "error"
		}
	]
}

with response code 400. The proper response to requesting a route which does not exist is a 404 with the error message "The requested resource could not be found" or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedgood first issuefirst-time committers will find this easy to resolve

    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