Skip to content

Cloud Resource Manager error message swap #440

Closed
@ajkannan

Description

@ajkannan

403 forbidden (permission denied) is returned instead of 404 not found when a project doesn't exist. For the time being, we will assume 403 means the project wasn't found. We should change back our implementation once this is fixed.

Also, 400 bad request is returned when attempting to perform actions on a project that is in an incorrect lifecycle state. This may make more sense with error code 412 (precondition failed) according to the public documentation, since the error message contains the message "precondition check failed."

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: cloudresourcemanagerIssues related to the Resource Manager API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions