demo user update for image

In the demo due to the CLI not working on canary, it pre-generated the schema, and when trying to update a user's image it will cause the following error:
ERROR Data too long for column 'image' at row 1 Better Auth

[Better Auth] ERROR If you are seeing this error, it is likely that you need to run the migrations for the database or you need to update your database schema. If you recently updated the package, make sure to run the migrations.

POST /api/auth/update-user?currentURL=http%3A%2F%2Flocalhost%3A3000%2Fdashboard 500 in 35ms
ERROR Data too long for column 'image' at row 1 Better Auth

[Better Auth] ERROR If you are seeing this error, it is likely that you need to run the migrations for the database or you need to update your database schema. If you recently updated the package, make sure to run the migrations.

POST /api/auth/update-user?currentURL=http%3A%2F%2Flocalhost%3A3000%2Fdashboard 500 in 35ms
1 Reply
kyle
kyleOP11mo ago
The demo also does not provide a way to "set a password" if the user doesn't have a password causing a User does not have a password error to occur.

Did you find this page helpful?