Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Uncaught SyntaxError: Unexpected token u in JSON at position 0

NARESH DASARIAug 17 2020 — edited Aug 18 2020

HI,

I am getting below error when trying to parse the json data using JSON.parse().

Uncaught SyntaxError: Unexpected token u in JSON at position 0

Json data:

[

      {

        "ItemNumber": "Abc",

        "OrganizationCode": "MST",

        "Region": "region1",

        "DisplayName": "Test1",

        "PDHValue": "Test1 Desc1",

        "EBSValue": "Test1 Desc1"

      },

      {

        "ItemNumber": "Abc",

        "OrganizationCode": "MST",

        "Region": "region1",

        "DisplayName": "Test2",

        "PDHValue": "Test2 desc1",

        "EBSValue": "Test2 desc2"

      }

]

Thanks,

Naresh

Comments
Post Details
Added on Aug 17 2020
2 comments
3,018 views