REST API status codes

The following status codes might be returned in response to a REST API call:

Status Code String
HTTP Status 400 "One or more of the arguments provided is invalid."
HTTP Status 403 "You do not have permissions to access the resource. Make sure that you add the account email address (obtained when you registered your application) to the Google Pay API for Passes Merchant Center."
HTTP Status 404 "The resource requested is not found. Please check your resource ID."
HTTP Status 409 "The resource to insert already exists. Please check your resource ID."
HTTP Status 417 "There is an error with versioning. If you are performing an update, please ensure that the version number has been incremented."
HTTP Status 5xx "A server side error has occurred. If the error persists, please reach out to Google to follow-up."