Activity Forums Salesforce® Discussions Exception: System.JSONException: Illegal value for primitive in Salesforce?

  • Exception: System.JSONException: Illegal value for primitive in Salesforce?

    Posted by Kirandeep on July 8, 2020 at 8:35 am

    How to resolve Exception: System.JSONException: Illegal value for primitive in Salesforce?

    Anuj replied 4 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Anuj

    Member
    July 8, 2020 at 12:50 pm

    Adding a class for goals will resolve your immediate issue.
    Replacing number with number_Z in the JSON string to deserialize Properly, if you need the number property to be available

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos