mapbox / mapbox/mapbox-maps-android

Received status code 403 from server

Open
#2,663 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle: docs :scroll:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Can not build the android demo app
Received status code 403 from server:
Forbidden from api.mapbox.com/downloads/v2/releases/maven/xxxxxxx

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':mapbox-convention-plugin:compileKotlin'.

Could not resolve all files for configuration ':mapbox-convention-plugin:compileClasspath'.
Could not resolve com.mapbox.gradle.plugins:access-token:0.4.0.
Required by:
project :mapbox-convention-plugin
> Could not resolve com.mapbox.gradle.plugins:access-token:0.4.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/gradle/plugins/access-token/0.4.0/access-token-0.4.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/gradle/plugins/access-token/0.4.0/access-token-0.4.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.mapbox.gradle.plugins:sdk-registry:1.3.3.
Required by:
project :mapbox-convention-plugin
> Could not resolve com.mapbox.gradle.plugins:sdk-registry:1.3.3.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/gradle/plugins/sdk-registry/1.3.3/sdk-registry-1.3.3.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/gradle/plugins/sdk-registry/1.3.3/sdk-registry-1.3.3.pom'. Received status code 403 from server: Forbidden

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Android demo build and start with the :mapbox-convention-plugin dependency configuration for the Mapbox Maven URL shown in the report. Check why access-token:0.4.0 and sdk-registry:1.3.3 receive 403 responses; done means the demo build resolves both artifacts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.