1

I am trying to run the simple example from quick start https://developer.here.com/cn/documentation/routing/topics/request-a-simple-route.html. I enter my app ID and my app code but I keep getting:

curl 'https://route.hereapi.cn/routing/7.2/calculateroute.json?app_id=APP_ID&app_code=APP_CODE&waypoint0=geo!52.5,13.4&waypoint1=geo!52.5,13.45&mode=fastest;car;traffic:disabled'
{"error":"Forbidden","error_description":"These credentials do not authorize access. Please contact your customer representative or submit a request here https://developer.here.com/contact-us to upgrade your account. You can also get valid credentials by registering for a free trial license on https://developer.here.com."}

My project is PROD-edc776ee-a821-4156-8c1c-ebceb30a27e5. Please help.

1 Answer 1

1

The documentation you are referring and the api link you are using are china specific. This will work only if you access it from China. If not, then you have to use the normal Routing API documentation - https://developer.here.com/documentation/routing/topics/request-a-simple-route.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.