Error: "The duration of the request is too long: Settings.duration"

Questions refering to the Optiflow based API within PTV Developer (launched on 20.12.2023)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2822
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Error: "The duration of the request is too long: Settings.duration"

Post by Bernd Welter »

One of my customers recently ran into this :
In the API documentation it is specified that the Duration parameter (under Settings) can take values in the following range: [ 0 .. 86400 ]
I`ve tried setting a value of 1800 (which is equivalent of 30min), but the API threw the following error "The duration of the request is too long: Settings.duration"
I would like to ask if you have some limitations based on our license or maybe you`re doing some changes in your code behind but not updating the documentation?
Here's what he didn't know so far:
  • Depending on your subscription/plan, you might have a cap of 5 minutes for the duration parameter.
    Please read this for more details.
  • If you must change the plan/subscription, get in touch with your sales counterpart
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply