function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vijaya kudupudivijaya kudupudi 

FATAL_ERROR|System.JSONException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at input location [3,2]

Hi all,

I have used the endpoint url as '' http://api.walmartlabs.com/v1/feeds/specialbuy?apikey=mmbwyhxhzapcqn5pu8mnaqmw&categoryId=3944 ". Up to yester day it worked properly. But now, I when I am running my application I am getting the error "FATAL_ERROR|System.JSONException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at input location [3,2]".

I checked in debug logs. There I found status as "HttpResponse[Status=Server Error, StatusCode=500]".How can I resolve this ? Please someone help me.
 
Carlos Campillo GallegoCarlos Campillo Gallego
Hi Vijaya,

If the error is of 500 type, that means that the error occurs in the server, you can't do anything unless you are the one maintaining that server, of course! :)

Hope this helps.

Regards
vijaya kudupudivijaya kudupudi
Hi Carlos Campillo Gallego,

Thank you for the given information.
S S MalikS S Malik
I am facing the same issues

Please suggest the solutions