Skip to main content
Panther Knowledge Base

502 responses when uploading with Github Actions and PAT

Issue

After syncing with the upstream I get 502 responses when uploading while using GitHub Actions. I've seen this issue before and solved it by using batch mode, but now it still fails despite using it. The error message I get is seen below. 

[ERROR]: failed to upload to backend: 502, message='Bad Gateway'

Resolution

To resolve this issue:

  • Sync with the latest upstream panther-analysis.
  • Try to restart the GitHub Actions
  • If none of the above steps works, contact Panther Support.

Cause

This issue might be a temporary issue of the GitHub Actions or might be caused by running an outdated version of PAT.