Wie können wir helfen?

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

How do exponential fallback starting with 1sec wait ?

7 Kommentare

  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Serge S

    Hi Marco! Thanks for sharing your question on the API Community!

    Currently, there's a rate limit of 100 requests per minute. In reality, it all comes down to a wiser use of exponential cooldown, which will allow your app to make as many calls as it needs to. Basically, it means you can make about 100 calls and then wait only 1 or 2 seconds before you can make another 100, so your app will not have to wait a full minute or more to overcome the cooldown. Please let me know if making calls with artificial delays (so that after the first error the app waits for 1-2 second before the next call) will work for you.

    Serge S Community Team at Wrike 💡Erfahren Sie mehr über Wrikes leistungsstarke Funktionen und lernen Sie Anwendungsbeispiele kennen

    Is this helpful? 1
    Aktionen für Kommentare Permalink
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Marco Pérez


    Hi Serge, first of all, thanks for your soon answer.

     

    So, I don't do the complete 100 requests. I send around 50 or 60 requests but sometimes they are one after other. So if I understood well, I can make them and if I got a 429, I can wait 2 seconds and send the rest of my requests?

     

    PS : In the future will be ok if the API can retrieve the hours of a project.  

    Is this helpful? 0
    Aktionen für Kommentare Permalink
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Serge S

    You're right, Marco. If you receive the error, please wait 1 or 2 seconds and send the rest of the requests.

    As for the ability to retrieve the hours of a Project, could you please specify? Are you referring to hours entered in the Custom Fields or hours actually logged via the Time Tracker and visible in the Timelog View?

    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
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Marco Pérez

    Ok, that is good to know, thanks for that, I really appreciate. 

    No, is not a custom field. (I attached an image ). I mean, is there a way to get the sum of the whole tasks in a project? 

    Well, I guess it has to be in other thread. 

     

    Is this helpful? 0
    Aktionen für Kommentare Permalink
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Serge S

    Hey Marco! I apologize for not replying earlier!

    Thank you for the clarification. At the moment, there's no straightforward way to get a sum of all Timelog records for a Folder/Project via API. However, I'd recommend the following solution: make a call to get all records of the needed Project/Folder with the help of [GET] /folders/{folderId}/timelogs command and make your app calculate the results. Hope this will work for you! :)

    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
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Marco Pérez

    Hi, Dont worry. Indeed, that is what I do, but sometimes I do other operations and different folders etc That is why some of my requests are complicated. But it is ok.  

    It will be helpful if in the future the API can evolve.  Thanks !!

     

    Is this helpful? 0
    Aktionen für Kommentare Permalink
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Serge S

    We are definitely keen on developing our API, Marco! I'd suggest sharing your feedback along with the use case in our Product Feedback section. This way other users will be able to support your idea with votes and our Product Team can gauge the popularity of the request and prioritize the roadmap accordingly. :)

    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: How do exponential fallback starting with 1sec wait ?
[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.