Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Datastore Error for Api proxy while OauthV2 token generator with client credentials

Hi All,

Currently we are facing issue with one of our API proxy where we are getting "Datastore error", while checking logs we can see it is failing for Oauth2 token generator policy. Does anyone face this issue before, what can be the cause for this.

Thank you in advance.

0 4 194
4 REPLIES 4

Hi @Dhanshri !

I guess it's something to do with accessing Cassandra.
Which setup of Apigee do you use? 

Please check this earlier conversation, whether it helps you to find a solution:
To fix the "Datastore error" that occurred during the execution of KVM Policy in Apigee

You can also find some useful tips here regarding datastore accessing-related issues and possible root causes.
https://docs.apigee.com/api-platform/troubleshoot/deployment/error-accessing-datastore

Cheers,
Marcelo

Thank you for you reply @MarciSoos ,

I am using Apigee Hybrid setup, and this issue is for consumer API proxy.

I don't see any network issue or Cassandra pods restarts in our logs. So there might be other issue while generating token.

Hi @Dhanshri ,

Based on this earlier thread, Datastore error indicates issue with Cassandra component.  If your platform is hosted onprem (Apigee Hybrid or Apigee opdk), check the corresponding cassandra troubleshooting docs.

I hope you find the solution there.
Cheers,
Marcelo

Hi @Dhanshri, I wanted to follow up on your questionWere you able to resolve the issue using @MarciSoos tips?

Thanks @MarciSoos for the insightful suggestions.

If one of the responses helped you find a solution, it would be great if you could mark it as an accepted solution. Let us know if there’s anything else we can assist with.