Back

Invalid data: Value must be a valid string and no longer than 8192 chars

  • 0
  • Self Hosted
  • Functions
Meldiron
20 Feb, 2024, 20:50

Sadly, you will need to upgrade to prevent problem with 8k characters limit on function executions

TL;DR
Developers are experiencing issues with a webhook payload length error (8192 chars) when integrating Appwrite with Stripe. To resolve this, they recommend upgrading to Appwrite 1.4, where the limit is increased to 20 MB. They suggest running specific commands to upgrade step by step, making backups before proceeding. Additionally, developers can check the Appwrite version in `docker-compose.yml` or with the `/versions` endpoint. Training videos and documentation on app integration are available for assistance.
samol
20 Feb, 2024, 20:51

ok

samol
20 Feb, 2024, 20:51

is that going to be very hard? 🀣

Meldiron
20 Feb, 2024, 20:51

From my experience it either goes very well, or very badly. Docs: https://appwrite.io/docs/advanced/self-hosting/update

samol
20 Feb, 2024, 20:52

🀣

samol
20 Feb, 2024, 20:52

YOLO

samol
20 Feb, 2024, 20:52

oh lord

samol
20 Feb, 2024, 20:52

I have to step up

Meldiron
20 Feb, 2024, 20:52

Make backups first pls. DigitalOCean lets you do snapshots I think, very cheap if you keep it for few days

samol
20 Feb, 2024, 20:52

1.1 -> 1.2

samol
20 Feb, 2024, 20:52

-> 1.3

samol
20 Feb, 2024, 20:52

-> 1.4

samol
20 Feb, 2024, 20:52

?

Meldiron
20 Feb, 2024, 20:52

correct

samol
20 Feb, 2024, 20:52

oh god

samol
20 Feb, 2024, 20:52

haha

samol
20 Feb, 2024, 20:52

this is going to go wrong

Meldiron
20 Feb, 2024, 20:52

I would firs try to do it all in 1 go and see if it works fine. If not, rollback, and try one by one

samol
20 Feb, 2024, 20:52

but got no choice

samol
20 Feb, 2024, 20:52

oh is that possible?

samol
20 Feb, 2024, 20:53

on the docs it says I need to go step by step

samol
20 Feb, 2024, 20:53

OK cool

Meldiron
20 Feb, 2024, 20:53

You need to go one by one but its just a few commands

Meldiron
20 Feb, 2024, 20:53

just keep running commands, changing version each time until you are on 1.4. Then hope for the best results

samol
20 Feb, 2024, 20:55

k

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more