Hello, I’m trying to add/update test cases result to a testrun from the API, Add/remove/update mappings between ‘TestCase’, but it’s raise a server internal error for just a simple request, what I missing?
- Request
curl --request POST –url ‘https://app.testiny.io/api/v1/testcase/mapping/bulk/testcase?op=add_or_update’ –header ‘Content-Type: application/json’ –header ‘X-Api-Key: <API_KEY> –cookie ‘_tnylb2=9d1f850910bfc22b; _tnylb=66b58d22ee237ae7299008fec49478bd%7Caf3iU%7Caf3cj’ –data ‘[{“ids”: {“testcase_id”: 1,“testrun_id”: 87},“mapped”: {“result_status”: “PASSED”}}]’
- Response
{
"type": "ApiError",
"code": "API_INTERNAL_ERROR",
"message": "Mapping operation failed because of an internal error",
"reqid": "Qp9r0mFXPE2rEW6Y"
}