Wie können wir helfen?

z.B. Gantt-Diagramm, Aufgaben erstellen, Ordner teilen

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

5 Kommentare

  • 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 💡Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

    Is this helpful? 0
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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 💡Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

    Is this helpful? 0
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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 💡Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

    Is this helpful? 0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

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.