Official comment
Hello,
Just to be sure, are you trying to update an existing project or create a new one?
Hi, based on the manual, I did
POST https://api2.clarizen.com/v2.0/services/data/upsert
other than the "authorization Session ...", in the body I did:
{
"updateEntity": {
"Id":"/Project/3ngq0atecbhgw4mqvaplhziju1143",
"C_Application":"test3"
}
}
It returned with a "500 Internal Server error", with the following:
{
"errorCode": "Internal",
"message": "We’re sorry, something seems to have gone wrong. If you need our team to investigate, have your Administrator open a support ticket with this error code:",
"referenceId": "1FyVBkdxtNl17Q5gDoj7LD"
}
What would cause this?
Thank you.
Hello,
Just to be sure, are you trying to update an existing project or create a new one?
Please sign in to leave a comment.
I tested the example published by Clarizen in the reference, the system gives me the same error message. So the example doesn't work either.
Hi, I was trying to update an existing project. Creating new one seems to be fine.
Thank you.
Hi,
The request needs to include both insertEntity and updateEntity. Please see the action documentation:
https://api2.clarizen.com/v2.0/services/data/upsert
I hope this helps,
Elad
That's it! Did not realize that I had to do both Insert and Update.
Thank you for your assistance.