Skip to main content
Solved

Post API Error ODP_DESERIALIZATION_ERROR


bhaktiutama
Sidekick (Customer)
Forum|alt.badge.img+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)

 

Best answer by bhaktiutama

SOLVED

by adding this on the header request :

  • Accept: application/json;odata.metadata=full;IEEE754Compatible=true
  • Content-Type: application/json;IEEE754Compatible=true
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

bhaktiutama
Sidekick (Customer)
Forum|alt.badge.img+8
  • Sidekick (Customer)
  • April 1, 2021

SOLVED

by adding this on the header request :

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

Forum|alt.badge.img+4
  • Do Gooder (Employee)
  • May 5, 2021

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.


bhaktiutama
Sidekick (Customer)
Forum|alt.badge.img+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?


Forum|alt.badge.img+4
  • Do Gooder (Employee)
  • May 6, 2021

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings