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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...