Gradle builds failing with Execution failed for task ':audit'. > Error trying to get audit results: Bad Gateway (502)

Even after adding the audit credentials for our gradle builds still it is failing at task :audit below is the command we are using
./gradlew clean build -Daudit.username=**** -Daudit.password=****
and getting the below error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:audit’.

Error trying to get audit results: Bad Gateway (502)

Hi everyone, please check out this thread with information about these OSS Index errors. I am closing this thread and any further conversation can happen there.

Thanks!