So, I've traced the exception in the code to these lines in FormServiceCursor.constructExternalService(FormServiceCursor fsc, IForm form, CallingContext cc)
:
try {
// ... some stuff
return new GoogleSpreadsheet(fsc, form, cc);
// ... more stuff
} catch (Exception e) {
throw new ODKEntityNotFoundException("Somehow DB entities for publisher got into problem state", e);
}
Unfortunately, we can't pinpoint the source of this exception at this moment because upstream try
blocks lose the cause of this exception.
Digging a little deeper, I can identify two broad possible causes for the exception:
-
Problems with Google Sheet API
This could be due to many things like exceeding quotas, network problems, expiration of credentials... you name it. It would be helpful to know if you have experienced any problem at all while working with Google tools lately.Worst case scenario, it could be due to irregularities in Google's service. I don't have specific prior experience with Google Cloud services but I've dealt with this kind of situations on Amazon and other cloud services and normally this is solved within 24h...
-
Problems with data in the Data Store
This could be due to exceeding quotas as well, but you mentioned that you've activated the billing plan. Worst case scenario, we can detect anomalies in the data itself that could justify an error.A quick test for this could be to pull submissions using Briefcase. If this works it's a sign that there's no problem in the Data Store