Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapGpt not available, prompts:The connection is lost,We're trying to reconnect #31

Open
CarpOrange opened this issue Mar 28, 2024 · 2 comments

Comments

@CarpOrange
Copy link

CarpOrange commented Mar 28, 2024

I'm an Android Development Engineer at Cerence, I'm investigating mapbox's mapgpt functionality, but I'm having some problems with the integration process, I followed the documentation: https://docs.mapbox.com/android/navigation/build-with- uxframework/installation/ and https://docs.mapbox.com/android/navigation/mapgpt/get-started/ , used the public token under cerenceridetest of our company account for the Dash is initialized, but the mapgpt page of demo app always prompts The connection is lost,We're trying to reconnect.
Here are the logcat logs of dash-android-examples:
Uploading mapboxlog.txt…

image
image (1)

@zhangfan321
Copy link

I have a question. I've already applied for the corresponding private key and public key and configured them in the code when using this example. However, why am I still getting an error when running it? The error message is: Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationux/search-api/1.0.0-beta.27/search-api-1.0.0-beta.27.pom'. Received status code 401 from server: Unauthorized. Do I need to apply for any special permissions in a specific location to run this example? Thank you.

@CarpOrange
Copy link
Author

I have a question. I've already applied for the corresponding private key and public key and configured them in the code when using this example. However, why am I still getting an error when running it? The error message is: Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationux/search-api/1.0.0-beta.27/search-api-1.0.0-beta.27.pom'. Received status code 401 from server: Unauthorized. Do I need to apply for any special permissions in a specific location to run this example? Thank you.

You need to confirm your private token checked the DOWNLOAD:READ permission,and configed every where needed.If you have done that, If you've already done it, then I don't know, you need to consult MapBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants