Chris NowickiOriginal post
Rank 1: Thread
I am creating a Magic URL link for a new user. The documents say to use account.createMagicURLSession however that does not exist on the Appwrite 14.0 Client SDK. The only I option I get is account.createMagicURLToken. The console log then says https://cloud.appwrite.io/v1/account/tokens/magic-url 404 NOT FOUND
however, the API docs say the route should be: /account/sessions/magic-url
Summary
Error message: MagicURL API ROUTE 404 ERROR
Issue: Appwrite Client SDK does not have the 'account.createMagicURLSession' function; only 'account.createMagicURLToken' is available. This leads to a 404 NOT FOUND error for the route 'https://cloud.appwrite.io/v1/account/tokens/magic-url' instead of '/account/sessions/magic-url'.
Solution: Update the route to '/account/sessions/magic-url' in accordance with the API documentation. Use the 'account.createMagicURLToken' function provided by the Appwrite 14.0 Client SDK.