Skip to content

Why am I seeing server returned HTTP response code: 401/403 error?

Why am I seeing server returned HTTP response code: 401/403 error?

  1. 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
  2. Verify Group Membership

  3. 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"
  4. 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.
  5. Check for Curation Blocks

  6. See More Common Errors

Brought to you by DevTools and Enablement Team.