Google Cloud - Strange Response from Iap. Getiampolicy Api

I'm doing a POST to with an empty body as the documentation specifies.

The API response is an HTTP 200 with the body simply being {"etag": "ACAB"}

What does this mean? What should I be doing differently to retrieve the actual policy data?

IAP and the IAP API are both enabled for this project.

9

1 Answer

The issue is that your URI is not specifying the Resource Type, which can be app-engine or backend-services.

For App Engine change the URI to:


1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest