Back

Trying to create a string bigger than 100000 chars

  • 0
  • Self Hosted
  • Databases
ZachHandley
16 Mar, 2024, 22:46

Max size in MariaDB is like 107340000 something characters, and when I try to create a string with longer than 100000 it errors like this

TypeScript
Operation failed: AppwriteException [Error]: Invalid document structure: Attribute "data" has invalid type. Value must be a valid string and no longer than 100000 chars
 {
  code: 400,
  type: 'document_invalid_structure',
  response: {
    message: 'Invalid document structure: Attribute "data" has invalid type. Value must be a valid string and no longer than 100000 chars',
    code: 400,
    type: 'document_invalid_structure',
    version: '1.5.3'
  }
}
TL;DR
Developers are trying to create a string larger than 100,000 characters in MariaDB but getting an error due to the max size limit being around 107,340,000 characters. The error message states that the attribute "data" must be a valid string no longer than 100,000 characters.
ZachHandley
16 Mar, 2024, 22:55

to clarify, the max size is 1073741824

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