I'm getting the response for 0.1 seconds then disappears. Why the response disappears? It does it on PATCH.
Lee Russel
4 days ago
Jan 11, 2025, 9:20 AM
@unicodes What is the settings of your API? Is auto fetch on?
Lee Russel
4 days ago
Jan 11, 2025, 9:24 AM
Can you also screenshot what the input value to your api looks like from the perspective of your backend
Andreas Møller
4 days ago
Jan 11, 2025, 10:54 AM
Any chance that the API is depending on some data that is updated when the request is done?
unicodes
4 days ago
Jan 11, 2025, 11:13 AM
Hi @Lee Russel, the API is the default one, there are no extra settings. There are no input values, just the id of the object updated and the id exist as the update is performing but no response in the API.
@Andreas Møller There are no dependencies from other APIs, it is just a PATCH with id and simple body to a variable.
Andreas Møller
3 days ago
Jan 11, 2025, 11:46 AM
Ah I think I know what is happening. When the api is checked it see if it should update it sees that the body is different since the timestamp has changed
unicodes
3 days ago
Jan 11, 2025, 11:59 AM
Do you know please If I can do something to fix this or is from toddle team to be fixed?
Andreas Møller
3 days ago
Jan 11, 2025, 12:03 PM
Unfortunately this might take some time for us to fix, so I would recommend not using autofetch for now
unicodes
3 days ago
Jan 11, 2025, 12:06 PM
It is a PATCH, i'm calling it just on button click not auto fetch. Do you want me to open a bug on this or will you communicate with the team?
Andreas Møller
3 days ago
Jan 11, 2025, 12:39 PM
Yes please do.
Lucas G
3 days ago
Jan 11, 2025, 4:27 PM
Yeah this happens when using formulas that constantly update like that directly in the body as Andreas said. @Andreas Møller once I left auto-fetch on and sent like 5k+ requests before I unchecked auto-fetch 😬