Skip to main content

Builds using Shake are failing with a status code 403 Forbidden

The fix is simple, upgrade your SDK to its latest version.

Written by Peter Simic

If your builds are failing with the following error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task

> Could not resolve all artifacts for configuration
> Could not resolve com.shakebugs.android:shake:10.0.+.
Required by:
project :app > project :shakebugs_react-native-shake

...

> Unable to load Maven meta-data from https://dl.bintray.com/shake/shake/com/shakebugs/android/shake/maven-metadata.xml.
> Could not HEAD 'https://dl.bintray.com/shake/shake/com/shakebugs/android/shake/maven-metadata.xml'.

Received status code 403 from server: Forbidden

It's because Bintray decided to sunset their service on May 1, 2021 👋 so we had to move Shake to Maven Central.

The fix is simple, just upgrade Shake SDK to its latest available version:

Once you upgrade the SDK, the issue will go away.
​

If you're getting the CocoaPods could not find compatible versions for pod Shake message then, here's the article how to address it.

Did this answer your question?