Error handling

  • If a service fails, it will return a 500
  • If a resource is not found, it will return a 404 (e.g. for an unknown reader or an incorrect publication. See the sample 404 error for a reader not found:
  • If a valid resource is given, but not owned or available to the OAuth service account, GCP will trigger an IAM error

Sample error

  "Error": "Requested entity was not found."