wolkenkit
wolkenkit copied to clipboard
SQL Server: String or binary data would be truncated in table 'db.items-command' column 'item'
What is this bug about?
At the moment, it is not possible to send a command with a payload more than about 820 bytes (only SQL Server).
What is the expected result?
It should be possible to send a payload with more than 820 bytes.
What is the actual result?
The API crashed with a SQL Server Error 2628 (String or binary data would be truncated in table...)
What steps are needed to reproduce the bug?
- Use an authenticated user (valid access token)
- Send a command to the API with more than 820 bytes.
What else should we know?
If I had a look to the JSON object, we need about 3180 bytes for metadata like user, initiator, token and so on. Most of them is used for the token string. This means, we have only 820 bytes left for the data object.