What can we help you with?

e.g. Gantt chart, Creating tasks, Sharing folders

When modifying contacts via API, gets "Operation is not allowd"

5 comments

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Pavel M

    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).

    Pavel M Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    ์Šน์–ต ๊ฐ•

    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?

    ย 

    Is this helpful? 0
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Pavel M

    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?ย 

    Pavel M Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Serg Donskoy

    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

    https://www.wrike.com/oauth2/authorize?client_id=%s&redirect_uri=%s&response_type=code&scope=Default,wsReadOnly,wsReadWrite

    And URL i use from docs

    /api/v3/tasks/%s/timelogs

    I got similar error: Operation is not allowed due insufficient user rights or account license limitations.
    Why it can happen?

    Is this helpful? 0
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Serge S

    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 :)

    Serge S Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0

Please sign in to leave a comment.

Folllowing List for Post: When modifying contacts via API, gets "Operation is not allowd"
[this list is visible for admins and agents only]

Community

Welcome ๐Ÿ––

Hi there! ๐Ÿ™‚ Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome ๐Ÿ–– Have you checked out this week's Release Notes yet?

Hey! ๐Ÿ‘‹ Curious about something? Visit How To to search and ask the Community for answers.

Welcome! ๐Ÿ‘‹ Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.