Post

2 followers Follow
0
Avatar

Issue creating task via REST

Hi,

I'm using Postman to try to create a task under a project.  I can successfully retrieve the project and other commands, but when trying to create a task I'm getting this error message:

"errorCode": "Internal",
"message": "An internal error has occurred, the error was logged and will be examined.",
"referenceId": "1DKAAMQhXSMFG9CheduSAH"

 

To get this, I'm executing a PUT against  https://api2.clarizen.com/v2.0/services/data/objects/Task with the following body:

Name:"Postman-Sub-Task"
Parent:/Project/5myqw9er3h0pi2c8eadg7cacb11488

 

Any pointers on what I'm doing wrong would be greatly appreciated.

Thanks in advance,

Ben

Ben Evans Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Ben,

Sorry for the late response. Are you still experiencing the problem?

If so, can you please share the full request body?

 

Thanks

Elad Franklin 0 votes
Comment actions Permalink
1
Avatar

Hi - I got some help from support.  I had been submitting as form-data instead of raw.  Switching that and encapsulating both the nae and value in double quotes fixed the problem.

Thanks for following up. 

Ben Evans 1 vote
Comment actions Permalink