OAuth Client Credential flow - pad block corrupted

Hi,

I have signed up for a dev account and using the default oauth proxy that comes out of the box.

Following the guide https://docs.apigee.com/api-platform/tutorials/secure-calls-your-api-through-oauth-20-client-credent...,

I try doing a curl request to the /accesstoken endpoint

curl -X POST -H "Content-Type: application/x-www-form-urlencoded" "https://{hidden}-eval-test.apigee.net/oauth/client_credential?grant_type=client_credentials" -d "client_id={key}&client_secret={secret}"

Get a 500 - Internal server error, failed to decrypt data.

On the trace I can see the following:

GenerateAccessTokenClient policy has been aborted

Pressing next shows the following

error: failed to decrypt data

error.cause: pad block corrupted

error.class: java.lang.RuntimeException

0 2 101
2 REPLIES 2

This sounds like a transient error in the Apigee evaluation organization.

Is it still happening?

Hi Dino

This should be resolved. See b/189794360 for reference