-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cloud Resource Manager error message swap #440
Copy link
Copy link
Closed
Labels
🚨 criticalP0 critical issue. Requires immediate fixP0 critical issue. Requires immediate fixapi: cloudresourcemanagerIssues related to the Resource Manager API.Issues related to the Resource Manager API.triage meI really want to be triaged.I really want to be triaged.
Description
Activity
Metadata
Metadata
Assignees
Labels
🚨 criticalP0 critical issue. Requires immediate fixP0 critical issue. Requires immediate fixapi: cloudresourcemanagerIssues related to the Resource Manager API.Issues related to the Resource Manager API.triage meI really want to be triaged.I really want to be triaged.
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."