appwrite | [Error] Timestamp: 2023-06-15T23:18:55+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: PDOException
appwrite | [Error] Message: Data too long for column 'treatmentStatus' at row 1
appwrite | [Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
appwrite | [Error] Line: 64
appwrite | [Error] Timestamp: 2023-06-15T23:21:11+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: PDOException
appwrite | [Error] Message: Data too long for column 'treatmentStatus' at row 1
appwrite | [Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
appwrite | [Error] Line: 64
appwrite | [Error] Timestamp: 2023-06-15T23:21:34+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: PDOException
appwrite | [Error] Message: Data too long for column 'treatmentStatus' at row 1
appwrite | [Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
appwrite | [Error] Line: 64
tried, restarting the server still didn't solved.
The feild name treatmentStatus is Enum type which have two status
Appwrite version, is lates 1.3.7
code:
500
message:
"Server Error"
response:
Map (4 items)
type:
"general_unknown"
At the app-level
it's sorted after deleting treatmentStatus and recreating
<SOLVED>Getting error message, Message: Data too long for column
[SOLVED] Getting error message, Message: Data too long for column
FYI, this is probably due to an enum being updated to include a value that is longer than the previous sizes. You might want to ๐๐ผ this issue: https://github.com/appwrite/appwrite/issues/5595
Recommended threads
- Relations within the same table
Hello, I'm currently building a sort of dictionary (a literal one) and thus I need words (which is one single table of words in my database) to be able to have ...
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
- 1:1 relationship doesnโt sync after re-a...
Hi, Iโm trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...