Hi,
I have performed reconcile operation by referring the URL https://developers.arcgis.com/rest/services-reference/enterprise/reconcile.htm. I am getting the error message 'The version could not be located'. What could be the reason for this error?
Also, it is mentioned reconcile operation requires 'Advanced Editing user type extension'. Will it create this kind of error?
Note: I have published version management service using ArcGIS enterprise 11.1.
Any suggestions will be appreciated.
Solved! Go to Solution.
To reiterate what @AnthonyRyanEQL , that extension is only required once you upgrade to 11.2 or later, which if you're on the Network Management Release plan won't be until you upgrade to 11.3.
The most likely scenario is that there is a typo in the version name you are using. Can you post a screenshot of the version name you're trying to reconcile and the corresponding version name in the version management dialog (or the version name from the rest endpoint)?
Advanced editing user type is only from 11.2
Hi @AnthonyRyanEQL ,
That is ok. I need to know whether 'Advanced Editing user type extension' dependency is the reason for the error 'The version could not be located'.
To reiterate what @AnthonyRyanEQL , that extension is only required once you upgrade to 11.2 or later, which if you're on the Network Management Release plan won't be until you upgrade to 11.3.
The most likely scenario is that there is a typo in the version name you are using. Can you post a screenshot of the version name you're trying to reconcile and the corresponding version name in the version management dialog (or the version name from the rest endpoint)?
Thanks @RobertKrisher . Actually, we have to pass version GUID not the version name. There was typo error in that, I corrected it.
Can you explain about session Id parameter we have to pass in that operation. As mentioned in this post 'Version Management Service - Start Editing Session... - Esri Community', I have used online UUID generator and passed session id value. Is this correct way? After that I am getting the error 'Object has no schema locks'. How it could be resolved?
Because the REST services are stateless we rely on the session ID to establish/clear the locks. You can generate that GUID however you want, just make sure it's random for every session and instance of your application. Previously discussed in this community post: Version Management Service - Start Editing Session... - Esri Community
I'm facing with the same issue when trying to open editing session according to this guide: https://developers.arcgis.com/rest/services-reference/enterprise/start-reading
I'm trying to send following request:
https://myportalUrl/server/rest/services/myServerFolder/myPublishedLRS/VersionManagementServer/versi... of default version for my feature service}/startEditing
and pass as form-data sessionId (generated GUID), token (generated on portal using user who is editor) and f=json, but get this JSON in response:
I just tested this out locally, and in order to access the version URL you need to remove the curly braces. If I forget to remove the curly braces, then I get the error you see above. Another important thing to remember is that you can't undo or discard edits in default so you shouldn't need to start/stop editing. If you try to start editing in default you will get this error:
Hi @RobertKrisher ,
This is it - there should be no curly braces on the URL. Also I've sorted out that I should create version first and then work with it (this step in the video is missed).
Thank you very much for your input - it saved me a lot of time.