Skip to content

GetJobSpecification and GetJobSpecifications are not returning 404 if the job is not found #694

@arinda-arif

Description

@arinda-arif

Describe the bug
GetJobSpecification and GetJobSpecifications are not returning 404 if the job is not found.

Expected behavior

  • If no job is found, should return 404 instead of 200 with an empty job.
  • Any caller can handle it gracefully based on the need
  • For external resource managers (being used when resolving job upstreams externally), if receiving a 404 response it will not return an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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