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

add_plan_entries-{"result":false,"error":"Maximum POST size was exceed


#1

Hi

I am trying to add_plan_entries to testrail.

The format of my url is

index.php?/miniapi/add_plan_entries/<plan_id>&key<my_key>
Accept:application/json and
suite_ids=<my_suite_id>

But the response result say

{“result”:false,“error”:“Maximum POST size was exceeded.”}.

I am trying to test this on chrome extension .

what is the mistake/error I am making in the call


#2

Hello,

Thanks for your posting. This error indicates that the body format of the POST request is considered invalid by TestRail. Could you please check that you submit the request body with the standard application/x-www-form-urlencoded content type and format?

Also, is there a specific reason why you are using the old API instead of the new and recommended v2 API?

http://docs.gurock.com/testrail-api2/start

Regards,
Tobias