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
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...
- Realtime Error Invalid query: Syntax err...
I was test driving Self-Hosted Appwrite for my use with Swift IOS apps as a backend while back and after successful trials, I started to move to incorporate int...