[SOLVED] Invalid data: Value must be a valid string and at least 1 chars and no longer than 8192
- 0
- Functions
I'm trying to run a function and pass it a payload
however it returns an error saying:
"Invalid data: Value must be a valid string and at least 1 chars and no longer than 8192 chars"
it seems that it doesn't take the payload as a string , I attach a photo of my code and how I structure it and also a photo of how the data that I am passing would look like, thanks
Can you check the length of the string?
The response is: "length":146165
So that's longer than 8192 characters...
Oh true... my bad š¤ is there any way I can raise that limit?
Not without tweaking the source code.
Typically, if you're dealing with longer data, you should be storing it as a file using the storage API
thank you steven, I'll see how I do it <:appwriterocket:823996226894692403>
even im facing this issue.. where are the limits set?
do i need to manually alter the source code in these files? or is there any global variable where i can set the limit?
Please create a new post instead of posting in an old thread
[SOLVED] Invalid data: Value must be a valid string and at least 1 chars and no longer than 8192
Recommended threads
- Hi, I'm getting this error while deployi...
ā Error ⢠search (6937cb70002c2e9c1a97) ⢠Fai ā Error: Deployment of search has failed. Check at https://cloud.appwrite.io/console/project-693...
- Timed out waiting for runtime. Error Cod...
After setting up my ML project that uses deepface and tensorflow in appwrite functions I get the `Timed out waiting for runtime. Error Code: 400. ` error. I am...
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...