ErrortCode: ROUTE_OPTIMIZATION_TOO_MANY_RESOURCES

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

ErrortCode: ROUTE_OPTIMIZATION_TOO_MANY_RESOURCES

Post by Bernd Welter »

The following error occurs if your underlying plan does not allow you to use as many resources as you tried to consider in the planning call.

Code: Select all

{
      "description": "The request contains too many resources.",
      "errorCode": "ROUTE_OPTIMIZATION_TOO_MANY_RESOURCES",
      "parameter": "$.resources",
      "details": {
        "resources": 4,
        "limit": 0
      }
}
There's a dedicated limit according to your plan - please get back to your consultant in charge to clarify this!
The spec says:
Please note that shared resources count as separate assets in your license allocation. The total asset count for any optimization includes the sum of routes and their distinct assigned resources. The upper bound on number of resources is a technical limit. Check your individual price plan or contract to see which limits apply.
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