Ask a Question

Error response from Zephyr Squad API when creating folder under cycle

Borgert
New Contributor

Error response from Zephyr Squad API when creating folder under cycle

Hello,

 

While trying to use the API provided here: 

https://zephyrsquadserver.docs.apiary.io/#reference/folderresource/create-a-folder-under-cycle/creat...

- to create a folder under a cycle by calling (HTTP POST) this endpoint <base_url>/rest/zapi/latest/folder/create with the following JSON structure:

{
    "versionId":"-1",
    "cycleId":"13337",
    "name":"mytest",
    "projectId":"13337",
    "clonedFolderId": -1
}
 
- I recieve an unexpected error response:
{
    "error""Error while processing the request, please try after sometime."
}
 
This response does not seem to be covered in the above-mentioned documentation, and I haven't come across this error when using other endpoints. I am therefore left wondering, what might cause this error. If anyone has any clue, then I'd be happy to hear it. I'll also look further into this and post the reason if it's ever found.
 
Thanks in advance!
1 REPLY 1
hans213
New Contributor

Hi!

Just use this Body:

{
  "cycleId": 13337,
  "name""testfolder",
  "projectId"35830,
  "versionId"72868
}

Regards, Hans
cancel
Showing results for 
Search instead for 
Did you mean: