Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Zephyr Scale Cloud API v2 - 'createTestCase: must not be null'

Tanner Pruden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2022

I am attempting to use the Zephyr Scale Cloud API v2 to create a test case within my Zephyr Scale cloud environment.

When I try to query the URL (https://api.zephyrscale.smartbear.com/v2/testcases) with the required fields (projectKey, name), I am getting this error:

 

{
    "errorCode"400,
    "message""createTestCase: must not be null",
    "status""Bad Request"
}
Does anyone have an idea what this error may be & a solution to fix it?

1 answer

0 votes
Will
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2023

I think it should have be resolved.

Follow the steps in the API document https://support.smartbear.com/zephyr-scale-cloud/api-docs/#tag/Test-Cases/operation/listTestCases

"GET test cases" query parameters are: projectKey, folderId, maxResults, startAt

There is no "name", I tried to add this parameter, no any error in the response even though "name" is not a valid parameter.

That might have been a bug, I think. 

:) 

Suggest an answer

Log in or Sign up to answer