-
Notifications
You must be signed in to change notification settings - Fork 13
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
403 Forbidden with API token #123
Comments
@Code-Player have you added the token to gradle? Use gradle.properties file or add directly to |
I added token in developer-config file. And Updated in gradle scripts too.
I tried with |
@Code-Player hi,
according to it |
Its exactly the same. Still I get 403 Forbidden.
|
Looks like it's unable to authenticate my token. |
@Code-Player does your token contain |
Yeah, created a new token with said scope. But now, following is the error.
|
Ah, this is the issue #43, there is temporary solution described there |
Which token am I supposed to provide there? Can I use the one I got from mapbox? It responds as invalid token if I user mapbox token |
Alright, got it working now. !!
Please suggest. |
@yunikkk, even in the demo app, I don't see any overlay/ icon in the app. All I get is simple camera feed, for example, Please suggest. |
@rhythmize - what device are you using for testing? |
Closing dut to inactivity, feel free to reopen. |
hey @rhythmize |
@Charfedine which error exactly do you have? |
@yunikkk when i wrote the comment it was 403 Forbidden with API, which i managed to fix by changing the username to mapbox and check the DOWNLOADS:READ secret scope. But now i get this : - "Failed to resolve: com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0" |
Do you try to build this repo? We don't have |
Yes I tried to build it but keep getting "Caused by: org.gradle.api.InvalidUserDataException: You haven't set MAPBOX_ACCESS_TOKEN." despite the fact that i set it as a env variable ! That's what led me to the other error when i tried to adapte mapbox to a new project |
"Received status code 403 from server: Forbidden" is back ! |
Hi @Charfedine. I had met the same problem. Did you solve yet? |
@splasky no i didn't sorry |
I have the same problem yesterday and today. I was eventually successful yesterday using the: Eventually (after trying a lot of times and in frustration pasting in the key directly into the project build.gradle). I think it is a general problem, because when I now try with another Android project the problem is back. Tried to make a new key, tried to use a different Mapbox account, tried to use the gradle.properties and pasting password directly in. But I do not get passed the build: and
|
We've updated the docs that should fix all the issues with tokens, please take a look https://docs.mapbox.com/android/vision/guides/install/ |
You must use this documentation to resolve this problem: |
@sabramooz not sure why this specific doc from react-native repo was mentioned. We now have correct documentation about updated maven configuration at https://docs.mapbox.com/android/vision/guides/install/ |
Thanks, this works too. |
i'm unable to see secret scope list. please help |
this is most annouing and undervalued shit problem that you have, fix it like real person or team or what ever. |
I followed all the instructions described and nothing helped, same project works for the rest of the team but I'm still getting 403. Is there a workaround for that or something? Maybe I can download it manually or kind of get from a repo that doesn't keep a goddam SDK under a password like it's usually done? |
i also have same case in my website, which has tracking user current location fiture , but i using free access token , so i look for information why it forbidden 403 , i just want to make sure that i should create new account to get new access token for the tilequery map API then the map will works with the new access token , or probably any better solutions for this case ? |
ya no funciona mapbox_gl quedo absoleto le recomiendo que use otra libreria |
For future victims of this bullshit, while generating the token, remember to add the permissions required to download. |
@korshaknn , As suggested by you. I'm trying to build the examples for this repo.
Following is the build output.
I'm using a freshly generated token.
Please suggest.
The text was updated successfully, but these errors were encountered: