- Since the error says "Unable to locate catalog 'hrn:here:data::olp-here-had:here-hdlm-protobuf-na-2' " ,we can try passing any other catalog and check if it is working for it.
- Since the error status code is 403 Forbidden, we can check our credentials once again. We can do so by running command 'hereCredentials' in MATLAB and check that the credentials are setup correctly.
- As you mentioned you are able to do it from Postman and not from MATLAB, it is worthwhile to check that the HERE SDK is installed correctly in MATLAB. Run the 'hereSDKSetup' command in MATLAB.
How to setup hereHDLMConfiguration?
2 views (last 30 days)
Show older comments
Hello everyone,
Can someone help me how to setup HERE HDLM.
I can login without problem using Matlab command:
hereHDLMCredentials setup
Problem is with command:
config = hereHDLMConfiguration('hrn:here:data::olp-here-had:here-hdlm-protobuf-na-2')
I am getting bunch of errors:
Error using driving.internal.heremaps.DataServiceStrategy/setCatalog
Unable to locate catalog 'hrn:here:data::olp-here-had:here-hdlm-protobuf-na-2'.
Error in driving.internal.heremaps.DataServiceManager/getPartitionClient
Error in hereHDLMConfiguration (line 101)
this.PartitionClient = m.getPartitionClient(catalog, catalogVersion);
Caused by:
Error using driving.internal.heremaps.CredentialsManager/webread
The server returned the status 403 with message "Forbidden" in response to the request to URL
https://api-lookup.data.api.platform.here.com/lookup/v1/resources/hrn:here:data::olp-here-had:here-hdlm-protobuf-na-2/apis
My HERE account and credentials should be ok. I was trying using Postman, according tutorial on HERE, and in Postman it is working:
But i am not able to use in Matlab.
Thanks for response
Jozef
0 Comments
Answers (1)
Tushar
on 19 Jun 2023
Hello Jozef,
We can try a few things to resolve the error,
2 Comments
Tushar
on 20 Jun 2023
"Unrecognized function or variable 'hereSDKSetup' " suggests that you do not have HERE SDK installed in MATLAB . You can download the same from HERE developer portal.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!