Appearance
Why am I seeing server returned HTTP response code: 401/403 error?
Why am I seeing server returned HTTP response code: 401/403 error?
Make sure you (or the CDSID) belongs to one of the generic groups in JFrog application:
- ENTP-JFROG-FORD-EMPLOYEE
- ENTP-JFROG-FORD-AGENCY
- ENTP-JFROG-FORD-CHINA
- ENTP-JFROG-FORD-GENERIC
- ENTP-JFROG-FORD-SUPPLIER
- ENTP-JFROG-FORD-CHN-GENERIC
- ENTP-JFROG-FORD-FORD-N
- ENTP-JFROG-FORD-PARTTIME
Verify Group Membership
- Check your memberships in IAM.
- To request group access, see Access for Generic (Proxy) ID.
Test Artifact Download
- Use your credentials to verify access:
- curl -H "Authorization: Bearer <TOKEN>" "url-to-artifacts-file"
curl -H "Authorization: Bearer <TOKEN>" "https://jfrog.ford.com/artifactory/external-proxy-group/org/hibernate/hibernate-validator-parent/5.0.3.Final/hibernate-validator-parent-5.0.3.Final.pom"
- Use your credentials to verify access:
IntelliJ-Specific 401 Error
Server returned HTTP response code: 401 for URL: https://jfrog.ford.com/artifactory/gradle-distributions/gradle-8.7-bin.zip- In IntelliJ, go to Help → Edit Custom VM options and add:
-Dgradle.wrapperUser=<CDSID>@ford.com -Dgradle.wrapperPassword=<TOKEN>- Restart the IDE and run.
Check for Curation Blocks
- Your dependency or library may be blocked by JFrog curation.
See More Common Errors
- For additional troubleshooting, see JFrog Common Gradle/Maven Errors