Post

2 followers Follow
0
Avatar

Invalid type name 'task'.

I'm calling web API into c# code:
string uri = "https://api2.clarizen.com/v1.0/services/data/getWidgetUrl";
I'm passing this param:
data = "{ \"id\": \"/task/6xeey91mzrdu1641n9vj4vvg2172\", \"format\": \"Roadmap\" , \"registered\": \"true\"}";

Response come :
{
"errorCode": "InvalidType",
"message": "Invalid type name 'task'.",
"referenceId": "n24vzeJOUwc1iAjAgmVOG"
}

can you please check and assist me for this issue?

Rakesh Panwar Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Rakesh,
Widget URLs are provided for Projects. You should provide an id of a Project, not a task.

Hope this helps,
Ophir

Ophir Kenig 0 votes
Comment actions Permalink