I am migrating my app from Google play safety net api to Integrity api, but getting below error from api-
When i using setCloudProjectNumber(idProjectNumber) retrieve :
Integrity API error (-8): The calling app is making too many requests to the API and hence is throttled.
Retry with an exponential backoff
when i remove setCloudProjectNumber(idProjectNumber) retrieve :
Integrity API error (-12): Unknown internal Google server error.
Retry with an exponential backoff.
Please I need To know Why this error is retrieve
note :The app has been uploaded To Google play using SafetyNet
You most probably haven't set up the API in the Play Console. From https://developer.android.com/google/play/integrity/setup#apps-on-google-play, see "In the Play Console, navigate to the Release section of the left menu. Go to Setup > App integrity. Select the Integrity API tab to get started."
I think there is something of a rate-limit active for maximum API requests.
I have no knowledge about the Playstore services since a long time so is there any?
Related
I get "Login Failed Error" with the Facebook Android SDK while running on the device. I have done everything what they specified, like creating a hash and all.
The error is:
Login Failed you cant use facebook to log into this app or website
because there's an issue with its implementation of facebook login
We have encountered this same issue before. In our case, it turned out that the Facebook restricted our app due to violating their platform policies. We appealed to Facebook by telling them we are working on making our app to be compliant with their policies. Then they responded to us and removed the restriction temporarily to give us the time to do our testing. After they removed the restriction, we no longer encounter this error message.
I am currently working on a Java app to calculate a certain index. I need to feed it data from Youtube such as views, average minute watched, geography, etc. from a channel which I am now set as "owner".
I am trying to connect the app using Youtube Analytics API but get this error every time :
com.google.api.client.auth.oauth2.TokenResponseException: 401
Unauthorized
The code I am using is from google developer GitHub so I assume the error is not in the code.
I went back to the online console to try my credentials, and they don't work. I have generated and deleted so many Keys and clients but nothing seems to work. Note that I am able to trigger requests like search which don't require authentification. So the problem is precisely in the auth, but I can't see what it is.
Thanks!
We have an API with Googe App Engine. The process does as follows. We have two calls to datastore with objetify and a call with urlfetch (to an external API).
We were working normally and suddenly we started to get in the client some 502 errors. There is not error traces in the server. The message we are getting is this one:
Do you have any idea of what is happening??? The only change we made was to release the project with different versions, we did it because somebody in Google support recommended us to do it.
Does it mean that GAE is doing some internal maintenance? if so, shouldn't they tell us in some way.
We talked to Google support. They told us that these errors are unpredictable and expected (if they are in a very small percentage, less than 0.01%). They suggested to do an exponential back-off and retry the request.
The reason why this happened was due to a network connectivity loss for a single machine in Google's wide cluster.
I am using the new iOS SDK and it's associated REST API. Implementing the iOS framework was a charm but when trying to verify the payments using a Java/Google App Engine backend things are less than optimal. All of this is in testing on the sandbox environment.
Right now the Credit Card payment verification is working (using the REST API SDK v0.5.2) when testing locally. However, when I deploy the application to the app engine the call to com.paypal.api.payments.Payment.get(accessToken, paymentId) fails and returns the following error:
Response Code : 500 with response : {"name":"DATA_RETRIEVAL","message":"Error retrieving data","information_link":"https://developer.paypal.com/docs/api/#DATA_RETRIEVAL","debug_id":"b42c7f5c2b97d"}
A couple more debug ids in case they help: 04870b7c20522, 9cc4393ce08b1, 3d3eb3b9109e0.
The information link only contains another error message.
("Service Temporarily Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.")
Does anyone have an idea why this fails on the App Engine? Any help would be appreciated.
PayPal seems to have fixed the problem.
I was wondering if there was a way to check if billing/blobstore was available from within an app. I have tried to use the capabilities api for blobstore being enabled but it cannot tell if billing/blobstore is available.
Basically I want to know if the app place I'm delpoying to is setup for free or billing (and subsequently blobstore) from within a java app.
P.S. I have tried catching the exception com.google.apphosting.api.ApiProxy$FeatureNotEnabledException which appears to be thrown in app's logs but it does not catch it (or any exception), but simply shows a error page.
Thanks,
Steven
Fixed by adding a filter which just tries to access the blobstore service in any way and catch exceptions.
sorry, i don't believe there's currently any way to programmatically determine if the current app has enabled billing or not. the capabilities api is intended to handle when services are down for maintenance system-wide, not available per app.
the one thing you could try is programmatically authenticating to the admin console, using either ClientLogin or OAuth, and fetching its billing page.