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

**URL:** https://community.sonatype.com/t/gradle-builds-failing-with-execution-failed-for-task-audit-error-trying-to-get-audit-results-bad-gateway-502/11002
**Category:** Sonatype Learn
**Created:** [July 24, 2023, 11:01am UTC](https://community.sonatype.com/t/gradle-builds-failing-with-execution-failed-for-task-audit-error-trying-to-get-audit-results-bad-gateway-502/11002 "2023-07-24T11:01:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jyoung](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jyoung/32/89_2.png) [@jyoung](https://community.sonatype.com/u/jyoung)
#### Post date: [August 1, 2023, 4:47pm UTC](https://community.sonatype.com/t/gradle-builds-failing-with-execution-failed-for-task-audit-error-trying-to-get-audit-results-bad-gateway-502/11002/2 "2023-08-01T16:47:50Z")

</div>

Hi everyone, please check out this [thread with information about these OSS Index errors](http://community.sonatype.com/t/oss-index-instability-5xx-errors/11064). I am closing this thread and any further conversation can happen there.

Thanks!

---

_[View the full topic](https://community.sonatype.com/t/gradle-builds-failing-with-execution-failed-for-task-audit-error-trying-to-get-audit-results-bad-gateway-502/11002)._
