Skip to Content

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

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 ;-)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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?

    Add comment
    10|10000 characters needed characters exceeded