Test connection to your bot getting failed : Bot Framework - bots

My bot is working fine in all Channels,but while checking Test Connection in https://dev.botframework.com its showing following error:
InternalServerError
{
"message": "An error has occurred.",
"exceptionMessage": "Authorization for Microsoft App ID b649bba7-xxx-4fe5-8e0d-xxxxx failed with status code Forbidden",
"exceptionType": "System.UnauthorizedAccessException",
}
If there is any Authorization Error,then it should not work in any channel right? But working in Emulator,Direct line, Web chat and Skype.

Related

Salesforce failed to complete task: Message: This session is not valid for use with the REST API

I’m new in the development, and I’m facing an issue with salesforce connect app.
We are using azure logic apps to integrate salesforce with Microsoft products, we had some processes in place working fine for the last few years but from last week all of them were disconnected, the error message being thrown is:
"status": 401, "message": "Salesforce failed to complete task:
Message: This session is not valid for use with the REST
API\r\nclientRequestId: XXXXXXXXXX", "error": null, "source":
"Salesforce.Common", "errors": []
code": "Unauthorized",
"message": "Failed to refresh access token for service: salesforce. Correlation Id=XXXXXXX, UTC TimeStamp=8/15/2022
9:09:38 AM, Error: OAuth 2 access token refresh failed. Client ID and
secret sent in form body. Response status code=BadRequest. Response
body: '{"error":"invalid_grant","error_description":"expired
access/refresh token"}'.
I’ve reconnected azure with salesforce and granted all permission, including Perform requests at any time
I had no luck, after a few minutes it disconnected again… so I installed the Azure Connected App, and refreshed the connection… still no luck, it keeps disconnecting throwing the same error message.
However, I kept getting disconnected from and getting the same error message.
Any help would be much appreciated.

Unable to ping Authorize.Net webhook

I just started building a webhook following the documentation. I created a sample web api application and published to IIS with a valid url accessible from the internet.
I created a webhook on out authorize.net sandbox account and set the url. I am able to call the POST api method from inside the postman. But when I try to ping the webhook I get error as follow:
https://apitest.authorize.net/rest/v1/webhooks/70884522-6fe8-4e72-9c7e-15bf2b30f778/pings
{
"status": 500,
"reason": "PING_FAILED",
"message": "The ping operation failed with the status code 403",
"correlationId": "5d136ce8-406f-442e-9118-fdde36946d87",
"details": [
{
"message": "Error occured in connecting to the endpoint:http://staging4.dancecompgenie.com/api/Values/Post "
}
]
}
Here is the url on my server.
http://staging4.dancecompgenie.com/api/Values/Post
I am able to successfully call this url in postman and get the result.
I appreciate if you can help me solve the problem.

An error in integration of a Web hook to API.AI

I'm trying to implement an app according to the stages written in:
https://developers.google.com/actions/get-started/
I follow all stages, but there is some problem with connecting the Webhook to the app.
When trying to operate the app and connect to the Webhook, I get the following error in the json file:
"status": {
"code": 206,
"errorType": "partial_content",
"errorDetails": "Webhook call failed. Error: Webhook response was empty."
},
Does anyone know what might be the problem?

Microsoft Bot Framework and Slack - always returning Forbidden when testing

I've registered a bot and write a demo with MS bot and LUIS.I also hosted it in azure and got a https endpoint like
https://$team***plus:t27oCcSM0b85uzQhl2bg2W****KQAbe8yyjojegY4HrMvs#teambotplus.******eweb****et/deploy ,
and I paste it like https://$team***plus:t27oCcSM0b85uzQhl2bg2W****KQAbe8yyjojegY4HrMvs#teambotplus.******eweb****et/deploy/api/messages
However,when typed the Test button ,I just got :
enter image description here
It's also added in slack channel,and returned nothing after I send a message.
Three messages from slack channel issues
*POST to luckybot failed: POST to the bot's endpoint failed with HTTP status 403
*There was an error sending this message to your bot: Forbidden
*There was an error sending this message to your bot: Forbidden
The https endpoint should looks like https://YourWebAppName.azurewebsites.net/api/messages and that's the URL you should put in your Bot's configuration page.

error on sending skype BOT messges

I have obtained the access token via https://login.microsoftonline.com/common/oauth2/v2.0/token and with that token tried to send a message using this url https://apis.skype.com/v3/conversations/conversationId/activities/. But i am getting this error "401: The provided 'OAuth' ticket failed authentication.".
What could be the issue here

Resources