Back

PHP Function calling woes

  • 0
  • Functions
  • Cloud
makeshyft_tom
7 Feb, 2025, 01:28

Hi,

I'm sending function calls using insomnia.

My function has inclusions, but the endpoint simply returns a string, because I am just testing the endpoints with the most minimal code.

As you can see by the screenshot, the calls are alternating between 500 and 200..... and again, outside of the attached header inclusions,

Pleaese help, what could be the problem here?

TL;DR
Developers experiencing issues with function calls using Insomnia, receiving alternating 500 and 200 responses. The problem might lie in the endpoint's minimal code. Solution: Check function code for potential errors impacting the responses.
makeshyft_tom
7 Feb, 2025, 01:47

PHP Function calling woes

Guille
7 Feb, 2025, 01:52

Can you show the code you're using to execute the function?

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