Deseriallization error
Closed this issue · 2 comments
ioleo commented
In one of the responses I return a raw token:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwMUgwRFFUOTA1UzJOMlI1Q0s3RDNLRzlaOSIsImlzcyI6ImtpcmluIiwiaWF0IjoxNjg0MDg4MzY2LCJleHAiOjE2ODQxNzQ3NjYsInJvbGVzIjpbImFjY2Vzc1Rva2VuIiwidXNlciIsImFkbWluIl0sInVzZXJJZCI6IjAxSDBESDZFN1hTUENQRDEyTU5WS0dKNFhOIn0.VDj6WivUEFZZPB_Z8kMnQJTR2S3AJDm7o_juxMvScwc
which for some reason, when deserializing on frontend, triggers this error:
DeserializerError(java.lang.IllegalArgumentException: Unknown integer coding)
ioleo commented
Experimenting a little, I think this is because the string is so long. By trial and error I determined that a 128-characters long string is OK, anything larger triggers the error.