Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRecord::ValueTooLong in datablock_storage # set_key_value: Data too long for column 'key' at row 1 #58674

Closed
snickell opened this issue May 16, 2024 · 1 comment · Fixed by #58675

Comments

@snickell
Copy link
Contributor

snickell commented May 16, 2024

From honeybadger: https://app.honeybadger.io/projects/3240/faults/107881472

@snickell snickell changed the title ActiveRecord::ValueTooLong in datablock_storage # set_key_value ActiveRecord::ValueTooLong in datablock_storage # set_key_value: Data too long for column 'key' at row 1 May 16, 2024
@snickell
Copy link
Contributor Author

This is caused because we have an activerecord limit on the max length of a KVP key (700 bytes I believe off the top of my head), but we don't trap the error and wrap it as a StudentFacingError, so it gets passed to honeybadger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant