Hi,
We have a Hosted Table in ArcGIS Online, originally created from an Excel file. It has been working great for weeks now. Yesterday, on opening the item we get a simple error message saying "There was an error". If we click the 'x' then the next message is "There was an error publishing the service".
We are aware of the following:
https://community.esri.com/t5/arcgis-online-questions/there-was-an-error-publishing-the-service/m-p/1256342
https://support.esri.com/en-us/bug/feature-services-successfully-published-from-xls-files-bug-000149005
The workarounds are going to be painful. We need to store the master data in one place. There are ids that allow us to filter the data into multiple groups. Therefore, we have multiple hosted views which splice this table into those groups. At least one application is configured to consume each hosted view.
If we use the workarounds offered, then we will have many views to recreate and applications to create, with a large emphasis on permissions as well.
We have tracked the 'issue' to this web call:
https://org.maps.arcgis.com/sharing/rest/content/users/{user}/items/{itemGUID}/status?f=json&token={token}
the response to this is:
{
"status": "failed",
"statusMessage": "null",
"itemId": "{guid}",
"jobInfo": {
"jobId": "2702e708-b035-47e3-83bb-59d1cd924326",
"jobType": "publish",
"jobUrl": ""
}
}
From this we can see that a republish has failed. We updated the hosted table from ArcGIS Pro to have an additional field. The errors start occurring immediately after.
I have reviewed the AGOL (developer) API, and I can see the status and publish pages, but I cannot see a way to delete the jobid that has failed.
Is anyone able to help? The idea of recreating the Hosted Layer, views, apps, permissions is ridiculous. There has to be a better way!(?)
For further context. If we log in as a none-admin user, then we get the correct response. We can consume the service via ArcGIS Pro, we can edit rows, we can add fields. All of this flows through as expected. Our biggest problem is that we need to create more views and we can't.
We're happy to work with API calls, but cannot find a way in.
Thoughts?