
Using Deno sdk. Looking to auth a user using the SDK due to using another means for authentication.
TypeScript
const res = await Account.createEmailPasswordSession(userEmail, '12345678');
const actRec = await Account.createSession(res.userId, res.secret);```
Error response ```
AppwriteException {
message: "Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 cha"... 2 more characters,
code: 400,
It was working but randomly started showing this message. Any ideas?
TL;DR
Title: `invalid secret param` error when authing through Deno SDK
Developers are receiving an "invalid secret param" error when trying to authenticate a user using the Deno SDK. The SDK code snippet provided needs to be revisited. It seems the `secret` value is not being properly generated or passed. The error message indicates that the `secret` value must be a valid string between 1 and 256 characters. Double-check how the `secret` value is being handled or generated before creating the session to resolve this issue.Recommended threads
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Does appwrite have any alternative solut...
Hi Everyone, ... I am looking for a solution for AWS ECS Fargate in appwrite. Can anyone let me know if this is possible?
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
