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
sashamsasham 

API issues with jason response

custom rest api issues with response
I am having issues with one of the api  (custom rest)whcih is called(from the moble  app) to retrive some customer data to show in the mobile . sometimes I amm getting error messgaes  System.JasonException :can not start an object expecting field name\n\nClass.System.JasonGenerator.writeStartobject: line. Sometimes i am getting response without any code chanes .. we are having issues customers couldnt see thier data in mobile  app
could you pls someone explain  why this  is happening