Page 1 of 1
Error code GENERAL_FORBIDDEN, Insufficient access rights.
Posted: Mon Dec 01, 2025 8:42 pm
by martinelsner
Hello,
when calling the Optiflow service with a syntactically correct message, I get an HTTP error 403 along with the following response:
Code: Select all
"description": "Insufficient access rights.",
"errorCode": "GENERAL_FORBIDDEN",
"details": {
"message": "You do not have permission to access this app."
}
Meanwhile other services like geocoding are working.
Re: Error code GENERAL_FORBIDDEN, Insufficient access rights.
Posted: Tue Dec 02, 2025 7:53 am
by Bernd Welter
Hello Martin,
if this error appears this means that the api key you used for the transaction respectively the so-called plan to which the token belongs to does not include access to the method you called, e.g. to the Route Optimization Optiflow API / startOptimization.

Please get in touch with your PTV account manager to check the conditions to get the correct plan. It will be helpful for us if you provide your
subscription ID so we can identify the account. As described in the article we manage various limitations via the plans.

The complete message also includes a traceId and an errorId : could be helpful sometimes if you mention them and also the endpoint that caused an issue.
Code: Select all
{
"traceId": "xxx",
"errorId": "yyy",
"description": "Insufficient access rights.",
"errorCode": "GENERAL_FORBIDDEN",
"details": {
"message": "You do not have permission to access this app."
}
}
Best regards,
Bernd
PS: in this particular case the underlying plan was a "migration plan" that is dedicated to serve xServer users to use the optimization APIs based on xTour 2 technology (both already in maintenance mode):
Remember: the best optimization in town is the
Route Optimization Optiflow API
Re: Error code GENERAL_FORBIDDEN, Insufficient access rights.
Posted: Tue Dec 02, 2025 10:54 am
by martinelsner
Hello Bernd,
thanks a lot. After the correction of the plan the call was successfull!
Best regards
Martin