502 Error Message

Hi,

Anytime an API call is made. It returns a 502 Error. See error message below.

[2025-09-07 00:00:02] local.INFO: Fetching API data from start: 12244100 with limit: 100
[2025-09-07 00:00:21] local.INFO: array (
)
[2025-09-07 00:00:21] local.INFO: Fetching API data from start: 1964600 with limit: 20
[2025-09-07 00:01:01] local.INFO: Fetching API data from start: 12244200 with limit: 100
[2025-09-07 00:01:18] local.INFO: array (
)
[2025-09-07 00:01:18] local.INFO: Fetching API data from start: 1964620 with limit: 20
[2025-09-07 00:02:02] local.INFO: Fetching API data from start: 12244300 with limit: 100
[2025-09-07 00:02:16] local.INFO: array (
)
[2025-09-07 00:02:17] local.INFO: Fetching API data from start: 1964640 with limit: 20
[2025-09-07 00:03:02] local.INFO: Fetching API data from start: 12244400 with limit: 100
[2025-09-07 00:03:04] local.ERROR: Invalid API Response {“body”:"

502 Bad Gateway

502 Bad Gateway


nginx

“}
[2025-09-07 00:03:04] local.INFO:
[2025-09-07 00:03:04] local.ERROR: Invalid API Response {“body”:”

502 Bad Gateway

502 Bad Gateway


nginx

"}

Welcome to the community, @acomin! Could you kindly let us know the server you are using? Please also share with us the api that you were testing that returned the error message. We could also troubleshoot for you.

Thank you for your feedback:

Here is the server i guess: https://eu.kobotoolbox.org/#/forms/aCKPGzH3wHfNiHkJvpHjSm

eu.kobotoolbox.org/assets/aZtVD5NdwHVxg8XrSXC4uq/submissions/?format=json

Hi, I am yet to get a response