
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
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Claiming Guest-Created Documents After S...
I'm wondering if it's possible for a guest or anonymous user to create a document and attach an email address to it, so that the document can later be claimed b...
- Error
I'm trying to get sellerId using account.get() in my appwrite function and this is the error message I'm getting: "Failed to send notification to seller 6865bf...
