Skip to main content
Question

ODP_SERIALIZATION_ERROR in 22R1 SU20


Kusal Gunathilake
Do Gooder (Partner)
Forum|alt.badge.img+2

 This error appears in the POSTING CONTROL DETAILS window when editing Requisitioner Id
 


Error while serializing contents.

This error happens when the server cannot serialize the data to be sent to the client.

A common cause is that one attribute's length exceeds the defined maxlength in the projection.

To find more info, open Log Window or Debug Console, refresh and then check Network Tab in DevTools. In the response there can be more detailed information about the exception.

Url: https://prod.***.local/main/ifsapplications/projection/v1/PostingControlDetailsHandling.svc/DynReference_RequisitionerLov?$filter=(startswith(RequisitionerId,%271%27))&$skip=0&$top=101

        Date = 2023-10-25T06:48:31.329Z

        Request Id = 46ffe212-6026-4278-b9c3-d2e9b2991699

        Client version = 22.1.3.20220602062839.0

<ERROR> {"error":{"code":"ODP_SERIALIZATION_ERROR","message":"Error while serializing contents.”</ERROR>

 

I checked all the tables and views related to this LOV to determine if there are any issues with its data type or maximum length. However, there was nothing wrong with that. This error occurs in a variety of scenarios, like when clicking the dropdown button, saving the changes and creating a new line in Posting Control Details. Sometimes it's getting saved without any errors. From what I noticed this only occurs for one type of posting. It's a bit confusing. Moreover, this environment isn't customized or configured.

I found some related questions on community, 

https://community.ifs.com/finance-financials-42/frequent-server-errors-on-ifs-cloud-22r1-caused-by-invalid-path-28324https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/serialization-error-during-odata-get-when-one-of-the-field-value-contains-carriage-return-character-8920


These references indicate that this may be a bug in 22R1. I need to confirm is this one is also the same bug or a different one.
 

Asela Munasinghe
Superhero (Customer)
Forum|alt.badge.img+21

Hi ​@Kusal Gunathilake 

Thanks for this post. We are in 24R1 and I see our Finance Manager getting a similar error time to time in various Financial views. I have attached a document with the error info. Do you know if IFS has a fix at all for this issue? 

thanks,
Asela


Forum|alt.badge.img+7
  • Do Gooder (Customer)
  • March 31, 2025

Was this every addressed.  Having similar issue and some posts say it was fixed in Apps 10 Update 13 but it wasn’t.  I am still dealing with this issue.  Any update would be appreciated.


Forum|alt.badge.img+7
  • Do Gooder (Customer)
  • April 3, 2025

Just to close the loop on this my ODP_SERIALIZATION_ERROR was related to the Case » Task data.

I am in IFS10 UPD 23

I was able to determine the problem and solution as follows.

We have a custom field on the CcCaseTask Logical Unit.  This custom field is read only and calls a IFS Api cc_case_task_cfp.Get_cf$_Description.  Pulling back the Task Activity Description that can be 1000 characters in length.

Our custom field which in IFS10 has to be managed in EE is defined as 100 characters.

While the EE version of the screen somehow has always worked fine with this discrepancy.

Our Aurena screen was giving the ODP_SERIALIZATION_ERROR.

The fix for me was going into EE and increasing the column size of the Custom Field to handle the amount of data that could return from the API call.

 


Reply


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