
Hi, I am currently working on the mail verification in my app. I created a function which is responsible for sending a verification link via mail. I wrote the function in python and tried to use in my swift code. The problem I have now is, that the terminal is prompting an error Failed to send verification email. Error: User (role: guests) missing scope (account)
this is a print statement, which I have added to my swift code to see if the mail was successfully sent. I have set the permission, who can access this function to any
. Does anybody have an idea if there is still something wrong with the permissions?

If needed I could make the swift code and the code of the created function available

What are you doing in the Function?

Why can't you make the create verification call in your app?

Here is my created function:

Unsure, the account is created successfully, and then I am trying to call the create verification function and there I get the catch case which prompts the error:
Failed to send verification email. Error: User (role: guests) missing scope (account)

role: guests
means you're not logged in. You need to create a session

Does the apple sdk provide a function to create a session already or do I have to create one on the server side?

Yep, there is


Ah, now I know what my issue was. I tried to call createSession
but this is not available the apple sdk. Thanks for the documentation link! 👍

[SOLVED] Question about sending a verification mail
Recommended threads
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
- Console Login after upgrade
Hi, running a small instance self hosted, upgraded from 1.6.0 to 1.74 this morning before spotting the migration guide... When trying to login to the console n...
