
Hello everyone, i updated my appwrite backend from the version 1.3.8 to the version 1.4.14. Its works good except the json i return from my functions. After the updated the functions returning a whole new json data. Her is an example:
Here is the Json from the 1.4.14: {"payload":"{weeks:[{year:2024,kw:16}]}","data":{"0":{"year":2024,"kw"......
Here is the Json from the 1.3.8: {"payload":"{weeks:[{year:2024,kw:16}]}","data":[{"year":2024,"kw".....
You can see after "data" there is no "[" and a "0"?????
i have no idee why this is different because i didn't changed something.
I also updated every function with this document: https://appwrite.io/docs/products/functions/develop
For my frontend app this makes it unusable.
Thanks for all replies 🙂

Hi there. When developing feature for Appwrite 1.5, I saw similar weird behaviour. It comes from the way how deletion occurs in array_diff function of Appwrite APIs programming language.
This could be bug on API side. Can you please explain how this response is generated? It is probably forwarding data of some appwrite SDK response.


Hi there, thank you for your replie. Sorry that I answer so late :/. There is really a response. I create a document an send it to the database. I do this in a for loop to do this with multiple data

i hope this will help you 🙂

calenderWeeks is delcared like this. maybe here i will get an error because of the declaration:
List<CalendarWeek> calendarWeeks = (listOfWeeks as Iterable) .map((e) => CalendarWeek(e['year'] ?? 0, e['kw'] ?? 0)) .toList();

can you share more of the payload?

this isn't coming out of realtime, is it?

oh wait...this is your function code? why are you calling a function from in a function? 🧐

no this is coming out of a buffer 🥲

this is the code above:
Recommended threads
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
- error code:524 for functions running lon...
We are having this issue, no longer the function runtime or code, if it goes longer than 1 minute, there's no logs at all, just this error: **error code: 524**
- PKCE, Etsy, OIDC, External OAuth provide...
first, thanks for creating and maintaining this software. I'm almost glad i couldn't convince my (wise and wonderful) senior devs to try pocketbase on productio...
