4 Replies Latest reply on Oct 9, 2018 9:26 AM by Jep Castelein

    REST API - 604 request timed out increased?

    David Desrosiers

      I've seen quite a couple 604 (request timed out) errors since early September. They're coming from REST API calls. It seems to affect just a couple instances among a large volume, but it's all started early September and it's been repeated. It's also inconsistent.

      We're working our way through this with the help of Support team across various tickets, but I was curious to see if other users are observing the same?

        • Re: REST API - 604 request timed out increased?
          Gerard Donnelly

          Is it always the same instances that are affected? Have support checked what customers you are sharing your box with? Maybe another customer is running campaigns that are hogging the box.

           

          Have you read this: http://developers.marketo.com/blog/marketo-rest-api-exception-and-error-handling-part-2/

            • Re: REST API - 604 request timed out increased?
              David Desrosiers

              Thanks Gerard.
              Yes it's the same couple instances repeatedly affected. I'm also familiar with Error Handling. But my hands are tied:
              1- The job is executed despite 604 error from Marketo; so exponential backoff would cause a duplicate job.
              2- I can't further split as this is related to a campaign schedule - not batch import/update. 


              I'll continue to work with support to check on performance and see if we can add more resources...

            • Re: REST API - 604 request timed out increased?
              Lance Erickson

              I also have found myself in this situation, starting 2018-10-05. I am doing batch updates, but there is not much correlation between timeout and batch size. They time out occasionally when attempting to update < 30 records, but succeed regularly with 100+. The content of the failing updates does not seem significantly different. The operation should be idempotent, so I am considering setting a client-side timeout and retrying rather than waiting the full 90 seconds that the server seems to give. I am interested to hear if you have any insight based on your experience with support, or if anyone else has recommendations.

               

              I know async is an option for this, but I would really like to avoid the complexity of polling for task completion if at all possible. I'm hoping the wide latency variation is an issue on Marketo's end.

              • Re: REST API - 604 request timed out increased?
                Jep Castelein

                Can't say much about this without call details, but I trust support can help with that. What I can say is that I've seen - with the Merge API - that a merge sometimes takes more than 180 seconds and then it gives a 604, however, the merge continues in the background and completes successfully. So if you would retry, it would say 'Lead not found' because the merge already took place. If you retry too soon (while the merge is ongoing, after timeout) it will give a 611 system error. However, there are very few API calls - other than Merge - that should take more than 180 seconds to complete, so this may not apply to your situation at all.