Create Build over REST API fails - BuildID must be set to NULL

Thursday, December 10, 2020

Dear Spira Team,

I want to create a build using the REST API via postman. The json body looks like






    "Name":"Rechnungssuche #24"


I get an 400 Bad Request and the error message

"Vor der Erstellung eines Build Objekts muss seine BuildId auf Null gesetzt werden."

English: before you create a build object, its BuildId must be set to NULL.


Where is my mistake?


Kind regards,


2 Replies
Thursday, December 10, 2020
re: csieber Thursday, December 10, 2020

Hi Cornelia

The BuildId field is auto-generated by Spira.

You need to leave that empty/null. Once the build is created, the JSON returned will have the new value for you.


Saturday, December 19, 2020
re: inflectra.david Thursday, December 10, 2020

Thanks David, works perfect now :-)

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Thursday, December 10, 2020
  • Last Reply: Saturday, December 19, 2020
  • Replies: 2
  • Views: 2648