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/parameters/profile/{{name}} gives incorrect response for non-existent profiles #3095

@ocket8888

Description

@ocket8888

The endpoint at /api/1.x/parameters/profile/{{name}} will return a 200 OK success and empty "response" array for profiles that don't exist. The proper response to a request for a non-existent resource is a 404 NOT FOUND. Besides this, an empty response array from this endpoint normally indicates that a profile has no parameters, and so tools/admins may subsequently attempt to assign parameters to said profile, which will confusingly and inevitably fail.

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