Gradle Sync/Build Failed with 401 Unauthorized Error from Artifactory
Answered

I'm running into an issue trying to sync my project in intellij , the process failed, and i'm getting "401 Unauthorized" error when it tries to download something from our Artifactory server.
I suspect this might be related to how my build environment or IDE is configured to authenticate with the Artifactory server, but I'm not sure where to look or what might have changed.
Has anyone encountered this before, or does anyone have suggestions on how to troubleshoot this 401 error when fetching Gradle distributions from Artifactory?
Any help or pointers would be greatly appreciated!
Please sign in to leave a comment.
Hello!
Thank you for reporting this!
How the authentication configured on Gradle level?
Do Gradle Tasks execute successfully, if you run Gradle from OS Command Prompt?