AnsweredAssumed Answered

How to access 'unable to unregister replica' error message

Question asked by paul.haakma on Jan 18, 2017
Latest reply on Jul 3, 2017 by paul.haakma

Hi all

 

If I call the unregister method on a geodatabase, I can it to unregister successfully.

 

But if, for some reason (say, a bug in my code or something outside my control like someone manually shifting geodatabase files around!), the code tried to unregister a geodatabase that had already been unregistered, how to I access the error message?

 

In fiddler I can see a JSON response along the lines of...   code 404, 'Replica with GUID.... does not exist on the server...' etc. That's fine, but I can't seem to figure out where I can access this error message from within the code?

 

Cheers,

-Paul

Outcomes