Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Messagebird returning 401 unauthorized #546

Open
hemkay opened this issue Jan 4, 2024 · 3 comments
Open

Messagebird returning 401 unauthorized #546

hemkay opened this issue Jan 4, 2024 · 3 comments

Comments

@hemkay
Copy link

hemkay commented Jan 4, 2024

I am using net6.0 azure bot framework and able to connect with other default channel, however I am finding it difficult to connect to Messagebird. The number I am using is my own and it has been verified and I see that the message I am sending is getting to it, I also used ngrok set-up to configure my bot webhook and I see it is reaching it. However someowhere around the adapter handler and the controller which is not showing me the exact errror the bot is not responding but with unauthorized. I have confirmed my access key and sign key is correct as I used the same to set my bot webhook url and it was successful, I used https://conversations.messagebird.com/v1/webhooks as my MessageBirdWebhookEndpointUrl properties. Please what am I doing wrong here? Any helo will be appreciated
image

@ahmetkocadogan
Copy link
Contributor

ahmetkocadogan commented Jan 4, 2024

Hello. MessageBirdWebhookEndpointUrl parameter should be the url of your bot for the adapter, for example, your endpoint for the bot is www.mybot.com/api/messagebird, this should be the MessageBirdWebhookEndpointUrl parameter. Can you try with this?

@hemkay
Copy link
Author

hemkay commented Jan 8, 2024

Hello. MessageBirdWebhookEndpointUrl parameter should be the url of your bot for the adapter, for example, your endpoint for the bot is www.mybot.com/api/messagebird, this should be the MessageBirdWebhookEndpointUrl parameter. Can you try with this?

Hello @ahmetkocadogan , I have tried this, still having 401 error

@hemkay
Copy link
Author

hemkay commented Jan 8, 2024

Hello. MessageBirdWebhookEndpointUrl parameter should be the url of your bot for the adapter, for example, your endpoint for the bot is www.mybot.com/api/messagebird, this should be the MessageBirdWebhookEndpointUrl parameter. Can you try with this?

Hello @ahmetkocadogan , I have tried this, still having 401 error

Hello @ahmetkocadogan , It has worked. Thank you very much. Apparently the number I was using before was flagged but I did not get any notification until now that it was unflagged. It work just fine as I test it now.

A quick one please, I notice some of my suggested action are not showing even as a listed style and there are repeated messages. Have an idea on what might cause that?

Thanks.

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

No branches or pull requests

2 participants