Getting Intermittent 502 Errors While Sending Data to Chronicle via Ingestion API

Hi Team,

We’re currently sending data to Google Chronicle using the Ingestion API, specifically this endpoint:
POST https://malachiteingestion-pa.googleapis.com/v2/unstructuredlogentries:batchCreate

We’re following the official documentation here:
https://cloud.google.com/chronicle/docs/reference/ingestion-api

Most of the time, things work fine — but occasionally, we’re getting a 502 Server Error from your side. The response looks like a generic Google error page, and error is “The server encountered a temporary error and could not complete your request.”

We’ve made sure that:

  1. Our request payloads are well below 1 MB.
  2. We're using the correct endpoint and format.
  3. We’ve added retry logic with backoff, but the error still pops up randomly.

Below is the error Snippet

<title>Error 502 (Server Error)!!1</title>
<p><b>502.</b> <ins>That’s an error.</ins>
<p>The server encountered a temporary error and could not complete your request.
<p>Please try again in 30 seconds.

Is this something known or expected from your side? Any tips on how to handle this better, or is it related to something on your backend?

Let us know if any more information is needed from our side

Thanks

Solved Solved
0 1 150
1 ACCEPTED SOLUTION

This is probably best explored via a support ticket so they can look at the exact examples of the errors and times they occurred.

 

View solution in original post

1 REPLY 1

This is probably best explored via a support ticket so they can look at the exact examples of the errors and times they occurred.