- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-23-2023 09:10 AM
Can anyone provide an example of the API request they're utilizing to disable or enable an instance for an Integration via the CORE API?
Everything I've tried results in 400 error with this message:
"id": "errOptimisticLock",
"status": 400,
"title": "Optimistic lock error",
"detail": "Optimistic lock error",
"error": "DB Version '7' and Insert version '3' do not match for id: 367f530a-39c7-4252-8d39-23cb17e4ccfb on bucket [modules] [moduleInstances] (15)",
"encrypted": false,
"multires": null
Currently attempting to perform a PUT via the /settings/integration endpoint with the instance configuration JSON essentially changing enabled from true to false for which I need (shortened example pictured below).
06-27-2023 01:56 AM
Hi @mikeahrendt ,
It seems that errOptimisticLock complains about the integration version, which changes every time you modify the integration. Please make sure that you provide the current version number, which seems to be 7, when you execute the API request.
I hope this answers your question.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!