Pedro
Pedro
Another though, maybe, instead of doing resource_delete I should be doing dataset_purge? But then how does this handles the table entries?
Can I use that parameter on the resource_delete call? Do you mean resource_update or package_update? (since resource_delete calls package_update) Does the dataset_purge include the deletion of the resource in the...
Thanks. I'll update the code and maybe do a PR
Takes too long if the harvest source has lots of datasets. Maybe this request should be sent to the redis queue and handle it with a harvester run command?
@suztomo I don't have any indication of the line number that causes the exception, this is what I see in Logcat: ``` 2023-09-01 20:20:06.884 18935-20392 ABSKULAITY.BDAYCN pt....aity.bdaynotificationsgooglec I Starting to...
``` com.google.api.client.googleapis.extensions.android.gms.auth.UserRecoverableAuthIOException at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler.intercept(GoogleAccountCredential.java:288) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:880) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:552) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:493) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:603) at mypackage.DataRepo.retrieveCalendarBdayEvents(DataRepo.java:277) at mypackage.DataRepo.loadData(DataRepo.java:410) at mypackage.DataRepo.run(DataRepo.java:193) at java.lang.Thread.run(Thread.java:1012) Caused by: com.google.android.gms.auth.UserRecoverableAuthException: NeedRemoteConsent at com.google.android.gms.auth.zzl.zzg(com.google.android.gms:play-services-auth-base@@18.0.4:20) at com.google.android.gms.auth.zzl.zzb(com.google.android.gms:play-services-auth-base@@18.0.4:4) at com.google.android.gms.auth.zzf.zza(Unknown...
@TimurSadykov I handle the error correctly and everything works. The main problem is that using the API vs Web, the permissions are different. Via Web I only need read-only permission...
gentle nudge @TimurSadykov