Hi everyone,
I have not seen many 504 errors in the forums, so hope this post may help others as well. While iterating through different forms, several will always return a 504 error. Each id has been previously double checked for existence (200) via “https://api.feathery.io/api/form/{i}/”, with i being the formid.
So far I have tried increasing the API timeout, though this seems to be limited to the feathery servers. I can see that data exists in each of these forms, and they seem to be working fine outside of this API call. Any ideas on navigating this 504?
Here is the iteration snippet of the code, with i being each formid.
for i in form_ids:
url = f"https://api.feathery.io/api/form/submission/batch/{i}/?no_field_values=true";
headers = {"Authorization": f"Token {API_KEY}"}
result = requests.get(url, headers=headers, timeout=240)
print(i,':', sep='')