Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to execute function. Error: run failed: 401 Unauthorized #365

Open
anton-plebanovich opened this issue Sep 18, 2024 · 2 comments
Open

Comments

@anton-plebanovich
Copy link

Hi, when I run realm-cli login I receive Successfully logged in. However, when I try to call a realm-cli function run I receive error:

{"time":"2024-09-18T13:55:20.679263+06:00","level":"error","err":"run failed: 401 Unauthorized"}

Could that be fixed? I know Realm stuff is deprecated but there is a year period ahead and I need the ability to call functions. Or, is there an alternative?

@blurp1478963
Copy link

blurp1478963 commented Sep 18, 2024

Are you pushing to atlas appservices ?
using "appservices"
npm install -g atlas-app-services-cli
resolved-it for me

@anton-plebanovich
Copy link
Author

Thank you 🤝

Switch to the appservices from the realm-cli solved the issue. It would be helpful to add a warning about the issue to the realm-cli or this repository. Otherwise, this is not obvious.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants