How to create email id and password for bot applications?
Hello,
I have created rainbow Sandbox developer account. And also I created some test accounts with the help of Rainbow CLI tool. When I tried to sign in with any of these accounts to Rainbow chatbot sample applications, it always gave me an error saying 'The email or the password is not correct'.
Should I have to follow separate procedure to create email id and password for bot applications in Rainbow?
This is the error I got on console:
{ code: -2,
label: 'UNAUTHORIZED',
msg: 'The email or the password is not correct',
details:
{ code: 401,
msg: 'Unauthorized',
details: '"This request doesn\'t contain an application Id,\\n please create a Rainbow Application under the Rainbow API HUB following the \\n documentation into the https://hub.openrainbow.com , for production use the \\n Application dashboard to create a new one, and for Sandbox use the Rainbow CLI.\\n \\n ____ _ _ _ ____ ___ _ _ _ \\n | _ \\\\ __ _(_)_ __ | |__ _____ __ / \\\\ | _ \\\\_ _| | | | |_ _| |__ \\n | |_) / _` | | \'_ \\\\| \'_ \\\\ / _ \\\\ \\\\ /\\\\ / / / _ \\\\ | |_) | | | |_| | | | | \'_ \\\\\\n | _ < (_| | | | | | |_) | (_) \\\\ V V / / ___ \\\\| __/| | | _ | |_| | |_) |\\n |_| \\\\_\\\\__,_|_|_| |_|_.__/ \\\\___/ \\\\_/\\\\_/ /_/ \\\\_\\\\_| |___| |_| |_|\\\\__,_|_.__/\\n \\n Thank you,\\n \\n The Rainbow Team."' } }
Regards,
Sunny
-
Commentaire officiel
Hi Sunny,
You have to create with the CLI an Application in order to allow signing with your tests users, please take a look in:
https://hub.openrainbow.com/#/documentation/doc/hub/developer-sandboxed-platform
at "Creating your application" chapter. It will helps you to solve your issue.
Regards
Vincent
Actions pour les commentaires -
Hello Vincent,
Thank you for the reply.
Still I am fetching this issue. I have created application under my sandbox app admin account using Rainbow CLI tool. Still the error is displayed.
To be more precise with my question which login and password should I give in the below sample chatbot application?
Is it test accounts user name and password or newly created applications credentials?
{ "rainbow": { "host": "sandbox.openrainbow.com", "mode": "xmpp" }, "credentials": { "login": "<your login>", "password": "<your password>" }, "logs": { "enableConsoleLogs": true, "enableFileLogs": false, "file": { "path": "/var/tmp/chatbot/", "level": "debug" } }, "im": { "sendReadReceipt": false } }Do I need to register this new application to a specific test account?
Thanks and regards,
Sunny
-
Hi Sunny,
in order to fill correctly your configuration you have to add the application setting part. Take a look in https://hub.openrainbow.com/#/documentation/doc/sdk/node/guides/Getting_Started at chapter "Configuring the SDK", this will helps you to complete your configuration.
Regards
Vincent
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires