Unable to create new release with SOAP API v2.2

Friday, August 26, 2016 10:16:31 AM
I'm facing problem when trying to create a new release using SOAP API v2.2

System.Web.Services.Protocols.SoapException: Release object needs to have ReleaseId set to null for creation
  at Inflectra.SpiraTest.Web.Services.v2_2.ImportExport.Release_Create(RemoteRelease remoteRelease, Nullable `1 parentReleaseId)

in the request I've set <releaseId>0</releaseId>.... Tried also -1 but no help (same error). If I leave it empty I get 'Input string was not in a correct format' error.
1 Replies
Friday, August 26, 2016 11:13:45 AM
Avatar
re: joni.vanhamaki on Friday, August 26, 2016 10:16:31 AM
Managed to solve the problem, which was caused by missing auth cookie... However I think the seen error is not valid in this case as it didn't indicate any problem with authentication....
Statistics
  • Started: Friday, August 26, 2016 10:16:31 AM
  • Last Reply: Friday, August 26, 2016 11:13:46 AM
  • Replies: 1
  • Views: 371