TurbomanOriginal post
Rank 3: Container
AppwriteException: general_argument_invalid, Invalid secret param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)
the error makes sense (the secret token is too long), but i'm getting the session secret directly from an appwrite function from the same instance.
Summary
Error message: Invalid `secret` parameter due to the length being longer than allowed
User is getting the session secret directly from an Appwrite function from the same instance
The secret obtained from the function is a JWT with the UserID and the Secret
User is questioning why the error is happening despite the origin of the secret
User solved the issue by identifying that the secret token obtained was too long