Not able to update long string


I have a field in a type defined as :

samlToken: long string

When using the following code to update:

samlClaims.samlToken = token;

I get the following error message:

Write failed: Attempt to insert/update a value of length 1154 for field message with column length 512:

Thank you for the help.


Can you try without the @db annotation, long string should be enough as it’s of 4000 characters


you can set a value as well