Page 1 of 1

Error 403: ROUTEOPTIMIZATION_RESTRICTION_EXCEEDED

Posted: Fri Feb 09, 2024 12:16 pm
by Bernd Welter
Here's some error footage I "found" these days:

Code: Select all

  {"Message": "Error calling StartOptimization: 
  {"description":"A product-specific restriction is exceeded.",
  "errorCode":"ROUTEOPTIMIZATION_RESTRICTION_EXCEEDED","causes":
  [    {"description":"The maximum number of concurrent optimizations is exceeded.",
  "errorCode":"ROUTEOPTIMIZATION_NUMBER_OF_OPTIMIZATIONS_EXCEEDED",
  "details":{"limit":1}
  }   ]   }"}
Currently (9.2.2024) you can't trigger more than 1 optimization call via a specific token.
In other services you'd simply be queued - in PTV Optiflow Developer API you get immediately rejected with the code above.

Re: Error 403: ROUTEOPTIMIZATION_RESTRICTION_EXCEEDED

Posted: Thu Sep 05, 2024 10:45 am
by Bernd Welter
Here is an update:

Meanwhile you can get a 403 message with the list of optimization tasks running under the same token. At least this can help in defining an automated reaction:

Code: Select all

{
  "traceId": "xxxxx",
  "description": "A product-specific restriction is exceeded.",
  "errorCode": "ROUTEOPTIMIZATION_RESTRICTION_EXCEEDED",
  "causes": [
    {
      "description": "The maximum number of concurrent optimizations is exceeded.",
      "errorCode": "ROUTEOPTIMIZATION_NUMBER_OF_OPTIMIZATIONS_EXCEEDED",
      "details": {
        "limit": 1,
        "runningOptimizationIds": "12345678-abcd-abcd-abcd-1234567890ab"
      }
    }
  ]
}

Re: Error 403: ROUTEOPTIMIZATION_RESTRICTION_EXCEEDED

Posted: Tue Dec 17, 2024 8:27 am
by Bernd Welter
UPDATE:
In the meantime a single account can't compute multiple plannings in parallel - even with two different tokens.