Ask a Question

API error when calling "Get StepResult Attachment list"

SOLVED
marcm
Occasional Contributor

API error when calling "Get StepResult Attachment list"

We are getting a 500 Internal server error when calling https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/attachment/search/stepresult

Error message:

{
    "errorType""ERROR",
    "clientMessage""We encountered some problems during processing this request. Please try again!",
    "errorCode"104
}
 
Postman payload:
ZephyrSquadError.PNG

 

The "stepResultId was read from the call to "Get StepResults by Execution":

Zephyr Get Step Results.PNG

 

1 REPLY 1
marcm
Occasional Contributor

Hi, this fixed my issue (From Zephyr Support)

 

curl --location --request POST 'https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/attachment/search/stepresult' \

--header 'Authorization;' \

--header 'zapiAccessKey;' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--data-urlencode 'stepResultId='

cancel
Showing results for 
Search instead for 
Did you mean: