Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

400{"error":"Invalid or incomplete JSON string in API request."}


Actual Result to be Written in Test Rail’s ‘Comments’ field of ‘Results and Comments’ tab

MarketTypeList = R,R,C
OfflineMode = False
TrainingMode = False
XCVersion = 8.1.1

Error Thrown in QTP while trying to write the above result:
400{“error”:“Invalid or incomplete JSON string in API request.”}


Hi Akshaya,

Thank you for the post. As the message indicates, this would indicate that the request you are passing is not completely correct. I would make sure that this is formatting correctly based on our API documentation which you can find here:

Additionally, can you try and pass a simple CURL request to the API and see if that is accepted?