Skip to Content

SAP PO REST ADAPTER JSON RESPONSE: Input is not valid JSON at character X (???)

Sep 01, 2017 at 05:20 AM


avatar image

Dear Experts,

we are using a sync scenario with the REST Json adapter from SAP to our customer and now we've the problem to process the response, beacause the message it's only a number without any tags -> as example: 81576

SAP PO means, thats not a valid JSON but if you validate the number ( starts not with 0 ) with any online validator, then you get a valid json.

How can we solve this problem ?

Thanks in advance ;-)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Feb 05 at 08:56 PM

From what I know, Normally JSON messages are enclosed in curly brackets... is the json returning just a string? do you have options to adjust the response to a proper json format i.e. &format=json?

10 |10000 characters needed characters left characters exceeded