Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

DataSource: CM1 (row 1): Invalid JSON: unable to find a JSON object, JSON array or a JSON primitive

Pattu
Pattu Posts: 11

I am getting this error , which I have not seen before ,my REST test cases were running fine.
DataSource: CM1 (row 1): Invalid JSON: unable to find a JSON object, JSON array or a JSON primitive

Answers

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    What tool is reporting the error? A JSON Assertor tool? As the message indicates, the tool received something that could not be parsed as JSON. You would need to look at what message the tool received. If the tool was chained to something that received a traffic message then you would typically just view the associated traffic.

  • Pattu
    Pattu Posts: 11

    No I found out that the REST URL is changed from http to https .
    Thank you for your response @benken_parasoft