News for hackers. Stuff that matters.
Re:REST Anti-Patterns (2008) by brut on Wednesday May 10, 2017 @06:23PM (#14312286)
This is how GCP tells you access to a resource is forbidden. I wrote an Ansible dynamic inventory script and have had to deal with this behaviour.

For example:

Response 403

{'error': {'errors': [{'domain': 'global', 'reason': 'forbidden', 'message': "Required 'compute.instances.list' permission for 'projects/golden-sandbox-162219'"}], 'code': 403, 'message': "Required 'compute.instances.list' permission for 'projects/golden-sandbox-162219'"}}

There are no comments on this comment yet.