For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
22 4 8 12

Critical Issue - Faulty JSON response from Thomson Reuters Server for getProfile API call

We are getting Faulty JSON response from Thomson Reuters Server for getProfile API call. In postman for PRETTY format, the response looks correct but when we see in RAW format it is adding additional key-value pairs which are not a valid JSON. So we could not parse the response using our Salesforce APEX APIs. Please see the attached screenshots

Pretty format in Postman

Raw format in Postman(see the highlighted)


world-checkworld-check-onejson
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
131 2 2 2

Hi @baskaran.subramanian

We haven’t seen this reported as an error likely because the ECMA-262 spec for JSON.parse() explicitly says In the case where there are duplicate name Strings within an object, lexically preceding values for the same key shall be overwritten (in other words last-value-wins).

--Chris

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
131 2 2 2

Hi @baskaran.subramanian

Thanks for posting this issue. I am forwarding to the development team so they can look into this further. I will post a reply when I have more information.

--Chris

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea