[SOLVED]I am not getting the JSON Response that I returned from SDK Function which I have created.
- 0
- Databases
- Functions
- Web
Instead I am getting this response.
{
"success":true,"error":false,
"message":"New Item is successfully added to cart :)",
"data":{
"seller_id":"2312342423",
"location_id":"3242442412412",
"customer_id":"3242423421423",
"product_id":"s3rqr3453453",
"quantity":34,
"$id":"7328c4f1-5c02-4847-8c11-b9da3dc84bc3",
"$permissions":[],
"$createdAt":"2023-06-08T17:57:19.662+00:00",
"$updatedAt":"2023-06-08T17:57:19.662+00:00",
"$collectionId":"64816f544f942a48182b",
"$databaseId":"64816c7d76fe80dada91"
}
}
But I am sending this success response... I want this to come as a response after I have create the function execution.
I have solved the issue.
I have written 3rd parameter wile creating the execution as truw. It should be false .
such that, I have gotten the object which contains response . I have parsed it and stored in a variable as shown below.
[SOLVED]I am not getting the JSON Response that I returned from SDK Function which I have created.
Recommended threads
- Query multi-tenant db with $permissions ...
I'm setting up a multi-tenant database with RLS enabled. My users my have permissions set for multiple Teams, and as such when they query the database with the ...
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...