Error conn=538

I have collection in metabase and I want to grant access to user. However I faced this issue
(conn=538) Data too long for column 'before' at row 1. Since my metabase in cloud.

anybody can help please.

Hi there,

Could you give us some more context:

  • Diagnostic Info from Admin > Troubleshooting > Info
  • Logs from Admin > Troubleshooting > Logs as soon as the problem happens

It seems like it could be related to this issue, however, that has been fixed a while ago.

[java.lang.Thread run "Thread.java" 748]],
:cause "Data too long for column 'before' at row 1",
:message "(conn=541) Data too long for column 'before' at row 1",
:sql-exception-chain
["SQLSyntaxErrorException:"
"Message: (conn=541) Data too long for column 'before' at row 1"
"SQLState: 22001"
"Error Code: 1406"]}

Could you send the Diagnostic Info so we can take a look at the version of Metabase you're running and the Application Database engine?

Also, if possible, could you check if these columns in the App DB are of type LONGTEXT?:

  • permissions_revision.before
  • collection_permission_graph_revision.before
  • application_permissions_revision.before