Back

Python function failed in 1s (no logs, no response, no errors)

  • 0
  • Functions
  • Cloud
efe
20 Jul, 2023, 05:10

I just execute a "http get" function in python, and failed 1s after

The last image is the "raw data"

TL;DR
The user's Python function failed after 1 second without any logs, responses, or errors. It is suggested to check if there are any exceptions being thrown and to ensure that res.json() or res.send() is called before returning. The user mentioned executing an "http get" function and provided a screenshot of the raw data.
Drake
20 Jul, 2023, 05:12

this usually happens because your code threw an exception. Make sure you catch any exceptions and call res.json() or res.send() once before returning

efe
20 Jul, 2023, 05:23

okay, I will try, thx

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more