When modifying contacts via API, gets "Operation is not allowd"
Hi all,
When I try do modify contact's metadata with API "[PUT] /contacts/{contactId} — Update contacts by Id. "
I can modify my own contact, but I cannot modify others, even though I am admin and account owner.
The whole response texts are "
{
}
"
BTW, I used the permanent token for calling API.
Is this due to license limitation? or is there any other settings which I have to adjust?
Thank you, in advance.
Hi! It looks like the reason is that you can only modify your own contact info through PUT call (this is the info from Profile). If you want to use your admin rights to modify user's firstl / last name, for instance, I'd suggest to try PUT call to /users endpoint (here).
However, please note that your permanent access token won't work, as the method requires scope amReadWriteUser, which can be only added at the OAuth2 step 1 (please see here).
Hi, thank you for your swift help.
I have another question about this.
I'd like to update "metadata" for a user. I don't think it possible with /users endpoint. is it possible?
There is no parameter listed in our documentation, however you should be able to use it just like in contacts (it's hidden), could you please check that?
Hello, I have similar problem. I'm trying to create a timelog for task, that assigned to me, in project, shared with team. Here is URL I use
And URL i use from docs
I got similar error: Operation is not allowed due insufficient user rights or account license limitations.
Why it can happen?
Hi Serg! Thanks for your question.
In your case it is happening because Timelog and Time tracking functionality are available starting from the Business subscription plan. As I can see you're trialing the Professional version. Hence, you get an error in the response. Please let me know if you'd like to set up a Business plan trial, I'll gladly assist you here :)
Hi
Having the same issue, cannot create a timelog using the APIs on behalf of another user, though we are trialing Business Plus.
{"errorDescription":"Operation is not allowed due insufficient user rights or account license limitations","error":"not_allowed"}
Any idea?
Basudha Sakshyarika Community Team at Wrike Wrike Product Manager En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online
Basudha Sakshyarika Wrike Team member En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online