Solved

Post API Error ODP_DESERIALIZATION_ERROR

  • 1 April 2021
  • 4 replies
  • 2826 views

Userlevel 3
Badge +8

Please help..


I try to Execute Transport Task using REST API, and simulate on Postman

Got this error

{\"error\":{\"code\":\"ODP_DESERIALIZATION_ERROR\",\"message\":\"Error while de-serializing contents.\"}}

 

Aurena Request Response (using Aurena Success)

 

Postman Request Response (Failed ODP_DESERIALIZATION_ERROR)

 

icon

Best answer by bhaktiutama 1 April 2021, 09:24

View original

This topic has been closed for comments

4 replies

Userlevel 3
Badge +8

SOLVED

by adding this on the header request :

  • Accept: application/json;odata.metadata=full;IEEE754Compatible=true
  • Content-Type: application/json;IEEE754Compatible=true
Userlevel 2
Badge +4

Hi Bhaktiutama,

I'm from IFS Latin in Brazil.

I've tried many times your instruction above, but the result is always the same:

My version of IFS is 10 UPD 11.

{
    "error": {
        "code": "ODP_DESERIALIZATION_ERROR",
        "message": "Error while de-serializing contents."
    }
}

The projection I'm trying to use logging with application owner is:

https://URLAddress/int/ifsapplications/projection/v1/PrepareWorkOrderHandling.svc/ActiveSeparateSet(WoNo=387252)/WorkTaskeArray(TaskSeq=16061)/IfsApp.PrepareWorkOrderHandling.JtTask.Prepare

Any sugestion to move on with that error?

 

Additional information:

I've got the same error when I execute get from https://URLAddress/int/ifsapplications/projection/v1/WorkOrderHandling.svc/WorkOrderSet(WoNo=387252)?$select=*

I found out the problem is the field Objevents, if I use $select without that column, everything works OK.

The content of the column is "Report^Finish^Cancel^Restart^"

Thanks in advance,

BR/

Alexandre Bicalho.

Userlevel 3
Badge +8

Hi @Albibr 

I’m a noob here, but sometimes I’m lucky enough to get a solution. 

Have you already set on header requests?

  • Accept: application/json;odata.metadata=full;IEEE754Compatible=true
  • Content-Type: application/json;IEEE754Compatible=true

If yes, have you try that transaction on Aurena?

Userlevel 2
Badge +4

HI Noob,

Thanks for helping me,

Yes, I had set the header and in Postman or SoapUI the message is the same.

When I execute the process in Aurena worked as expected.

 

If you know any other thing, let me know.

BR/

Alexandre Bicalho.