AnsweredAssumed Answered

Locked for editing by - API

Question asked by Joshua Boreum on Jun 30, 2016
Latest reply on Jul 1, 2016 by Joshua Boreum


I've run into data locks when I went to change an object through the API and it was locked by user1. What I've done in the past is use the API to pull up sessions, and switch through each one by the UID and discard changes. Sometimes the API would say 'management server failed to execute command' so i moved on not knowing which session was locking it. Eventually some allowed me to switch into and discard changes and then I was able to modify the object.

 

Today I went to modify the only object thats created and its locked...Figured I'd write a script to purge all sessions and discard changes but now im getting an error for every session, even when I do it manually with Postman.

 

How can I unlock this object through the API?

 

Error Response:

{

  "code": "generic_server_error",

  "message": "Management server failed to execute command"

}

Outcomes