Post

2 followers Follow
0
Avatar

Upsert fail with 500 error

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.

General Gao

Official comment

Avatar

Hello,

Just to be sure, are you trying to update an existing project or create a new one?

 

 

Elad Franklin
Comment actions Permalink

Please sign in to leave a comment.

5 comments

0
Avatar

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.

General Gao 0 votes
Comment actions Permalink
0
Avatar

Hi, I was trying to update an existing project. Creating new one seems to be fine.

 

Thank you.

General Gao 0 votes
Comment actions Permalink
0
Avatar

That's it! Did not realize that I had to do both Insert and Update.

 

Thank you for your assistance.

General Gao 0 votes
Comment actions Permalink