jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Could not GET 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

Open nicknamepiyapong opened this issue 1 year ago • 4 comments

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ':react-native-view-pdf:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':react-native-view-pdf:debugCompileClasspath'. Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. Required by: project :react-native-view-pdf > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. > Could not GET 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. > Could not get resource 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. > Could not GET 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

Thank you!

nicknamepiyapong avatar Aug 05 '24 10:08 nicknamepiyapong

I also have the same problem

conghuahuadan avatar Aug 18 '24 02:08 conghuahuadan

Hi! Any update on the given problem. I have the issue and after adding authtoken of jit getting 403 forbidden error although the packages I'm using are public.

  > Could not resolve com.amitshekhar.android:android-networking:1.0.2.
     > Could not get resource 'https://jitpack.io/com/amitshekhar/android/android-networking/1.0.2/android-networking-1.0.2.pom'.
        > Could not HEAD 'https://jitpack.io/com/amitshekhar/android/android-networking/1.0.2/android-networking-1.0.2.pom'. Received status code 403 from server: Forbidden

ketankhandelwal avatar Aug 20 '24 04:08 ketankhandelwal

After trying numerous solutions, this one finally worked for me. Link

Nayan014 avatar Aug 23 '24 12:08 Nayan014

After trying numerous solutions, this one finally worked for me. Link

Thanks this worked for me as well

codewithrish avatar Aug 27 '24 05:08 codewithrish

Hi all,

That repository has is not hosted on JitPack but because GitHub returns 404 we assume it is private so you receive a 401.

jitpack-io avatar Aug 29 '24 09:08 jitpack-io

g

Khadijaikram avatar Oct 22 '24 07:10 Khadijaikram

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 22 '24 02:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Dec 06 '24 02:12 github-actions[bot]