Edge Microgateway plugin:oauth verify apikey access_denied

Since last couple of weeks for a particular API proxy we are getting this error for API key validation from edgemicro_auth proxy (as per error docs https://docs.apigee.com/api-platform/microgateway/error-code-reference-edge-microgateway)

This used to work fine before with same API key, which is set to expire "never".

Please note that for other API proxy defined on microgateway who are also using API key validation, there's no issue.

plugin:oauth verify apikey access_denied +0ms
plugin:oauth auth failure 500 access_denied Internal Server Error 
0 3 167
3 REPLIES 3

@srinandans Please suggest. Thanks 🙂

babuk0930
Participant III

My understanding is it Looks like the connection between microgateway and edge has been lost because of access issue.

So microgateway doesn’t have the latest product details to verify the key.

May be the key and secret that was used to configure micro gateway got revoked

Resolved issue with following:

  • MGW restarted with new key secret.
  • New consumer app on apigee portal and respective new x-api-key used.

But i think this is a bug, api key expiry set as never. that should have worked as expected.