Hi everyone.
I'm having a problem with Apigee when trying to make PUT or PATCH requests, I'm receiving a 403 error. In addition, no call appears on the API proxy debug screen.
In my API Products I've enabled all the methods.
As far as I know, the API policies don't matter because I can't see the request in the debug mode. Winch means that the error is happening before Apigee calls the proxy API.
GET and POST are working with no issues.
Does anyone know what can be happening?
Thank you.
Solved! Go to Solution.
Hi,
As far as I know, the API policies don't matter because I can't see the request in the debug mode. Which means that the error is happening before Apigee calls the proxy API.
I think that's mostly right and plausible. I would say it a little less definitively, though.
But note, "probably". Before we can be certain, let's take a step back and understand some possible reasons why you would observe what you are observing. Some possible explanations
What could it be? There is an interesting bit of information in your analysis; you noted that the 403 message included this:
<title>403</title>403 Forbidden
That is not a message that gets returned by Apigee, by default. You could create an Apigee proxy to return that, but the Apigee system itself does not return messages that look like that, even when there is a 403 response . So what system DOES return a message that looks like that?
Cloud Armor (example). Or the Identity-Aware Proxy in google cloud. Not sure if others.
Why? I don't know. Is it possible you have a cloud armor rule that explicitly blocks PUT and PATCH?
Please check that.