We have a custom process which read the data using xml, updates the xog xml and writes it back to user and custom object. For some reason, the process works fine for few records after which it gives Not Authenticated Error. I am not sure what is happening. The process was working as expected before.
Release : All Supported versions
Session got expired and that is the reason for the error. There is 60 minutes for session time out.
Best practice to batch this in such a way that it will be under 60 minutes or should attempt to re-establish new session but should not continue use same session for that long.