Hi Community,
I have encounter the following errors in the LOGS in ODC portal,
Message: OS-BERT-40004 - Failed to parse JSON request content
Stack: at OutSystems.RESTService.Runtime.Core.Controllers.ScreenServices.ScreenServicesApiController.EndpointAsync(Stream input, String apiVersionHash, EndpointAsyncImplementationDelegate implementationAsync, CancellationToken cancellationToken)
However, when i clicked on the 'Go to Trace' button, it shows 'this trace can't be displayed'. But when i go to the traces listing, i can find the error, and when i clicked into it. The thing is that, i couldn't make sense of what is happening...and in the UI, everything appears to be working fine.
Are there any areas which i missed out, or where should i even start to find the 'root cause' of this?
Thank you!
Hi @Jun Mun Chan,
Please verify and validate the data you are using — including field names, data types, sub-structures, and overall format — to ensure it is fully compatible with the structure you're using to parse the data. Any mismatch or malformed input can result in a JSON parsing error like OS-BERT-40004.
Yes, after investigating, dirty data was injected into the DEV entity thru another functionality of the app, causing this error.
Thank you.