409 Conflict Error encountered

Hi team ,

We've encountered an Error 409 Conflict while using Genesys API "/api/v2/conversations/messages/agentless" to send sms from our application.

Could you please assist/help on to resolve this error.

Below is the request and response details.

Request:
/api/v2/conversations/messages/agentless

Payload:
{
"fromAddress":"" ,
"toAddress":"",
"toAddressMessengerType": "sms",
"textBody": "",
"useExistingActiveConversation": true
};

Response:

{
"message": "Version number mismatch for the update operation. Get the latest version of the entity and try again.",
"code": "conflict",
"status": 409,
"contextId": "",
"details": [],
"errors": []
}

Hi @spatil
This seems like a bug since the request doesn't allow for the input of a version. Also the only documented 409 for the request is organization.outbound.usage.limit.exceeded.
For that reason, please open a case with Care to investigate this.

Which input of a version?

The error message is mentioning a version number mismatch, but there is no option in the request for specifying a version number, and there is no associated GET endpoint for getting the latest entity version.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.