Any time calling this operation I got the error below:
{
"error": {
"code": "ODP_DESERIALIZATION_ERROR",
"message": "Error while de-serializing contents."
}
}
I'm missing something?
Could you test this in your environment if it works?
Thanks in advance,
Alexandre Bicalho.
Best answer by Rifki Razick
Hi,
I’m assuming you are doing a POST call which is required since this is an action. Now a possible reason for the deserialization error could be the lack of a payload in your request body. For state changes you need to specify an empty payload like so:
I’m assuming you are doing a POST call which is required since this is an action. Now a possible reason for the deserialization error could be the lack of a payload in your request body. For state changes you need to specify an empty payload like so: