I'm getting the following error message.
Failed to execute Skype backend request GetThreadsS2SRequest
when trying to Add, Update or Delete channels using MS Graph API for Teams. The calls were working fine for a while but now suddenly this error comes up. This happens particularly when the channel type is private. Any help would be much appreciated. Thanks.
Related
I have a simple flow where callers record a message using the "Record Voicemail" widget, then I post the execution's Flow SID, the Execution SID, and the Call SID to my PHP app so I can download the recorded MP3.
The PHP app successfully gets the POSTed data, but when I try to use:
$execution_context = $client->studio->v2->flows("$flowSid")
->executions("$executionSid")
->executionContext()
->fetch();
I'm getting this error in the logs, isn't super clear (to me, anyway :-) :
mod_fcgid: stderr: PHP Fatal error: Uncaught Twilio\Exceptions\RestException: [HTTP 404] Unable to fetch record: The requested resource /Flows//Executions//Context was not found in /home/me/public_html/vendor/twilio/src/Twilio/Version.php:88
The context is available if I enter that same FlowSid and ExecutionSid into the Console API Explorer, I just don't seem to be able to get it in my app using the PHP library.
Thanks for any help or suggestions!
I am trying to use Microsoft Graph beta getAllMessage api to get all messages from all teams chats. This is the getAllMessage url below:
https://learn.microsoft.com/en-us/graph/api/chats-getallmessages?view=graph-rest-beta
The problem is I am always getting Unknown Error and Unauthorized 401 response and I have consented all the permission as the pic shown:
I also found a Note shown this api is a Protected API in Microsoft Teams.
But I can not see this getAllMessage api in the list of Protected API.
I am starting getting lost now. Hope someone knows the real cause of this problem and let me know whether should I submit the Protected API request form or not.
Thanks
Di
I see that you're calling Getallmessages() and facing the error. Yes the documentation is correct. As you're calling application permission and getting the messages/chat then it comes under protected api's - so you need to submit the request, get approval as discussed in the document. This will help you move forward.
while fetching channels from the team using graph API is not working. It is not working from today. I am getting the following exception.
https://i.stack.imgur.com/tA1Qv.png
I tried the same with code that worked just fine 3h ago to get channels from a specific team. Now I'm getting the same exception. Same Exception when using Graph-Tester.
Coworker tried it aswell with Graph-Tester, apparently it works just fine for her. Seems like its user related. Propably a bug on Microsofts side.
It seems that it could be a bug. I'm confirming that right now GET /teams/[-groupid-]/channels fails for Delegated permission type requests, both for v1.0 & beta with a 400 Bad Request "Failed to execute Skype backend request GetThreadS2SRequest."
However, it's working for me (200) when I use Application permission type in Postman.
It was fixed by the Microsoft Graph team. Now it's working fine. It's not the only problem with channels. It's a problem with team endpoint API. The graph team is fixed the API related issue.
I had been developed a telegram bot using Telegram.Bot.
I tried to rework with the bot, First I created bot using BotFather and got token.
I set webhook server api address in telegram api. But when I check webhookinfo it returns this error
https://api.telegram.org/botToken/getWebhookinfo
respone:
"last_error_date":1585419712,"last_error_message":"Connection timed out"
I checked it need TLS12 to have secure connection using
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
But It's not getting updates in my server and show time out error.
I tried posting using postman and ngrok to run on my iisexpress and I'm getting data and can sending messages to bot in my localhost.
But In hosting it's not working, whats wrong with new Telegram.Bot library or telegram server?
update
I checked with postman my hosting url, post man also cant connect to that url. what can be wrong with my codes?
This is response when i'm call update receiving URL in my hosting:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.10.34.35:443
I got problem, the certificate which we use should be valid one, not free.
For more information please study this link:
https://core.telegram.org/bots/webhooks
Hi i am trying to collect data from twitter search Api using Twitter4j. Every thing is working fine but after certain no. of calls to the Api it is throwing the following error.
403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Missing or invalid url parameter
code - 195
Using thread.sleep i am calling Api every 1 min. so at the max it can have 60 calls. But the limit is 350 with authentication, then also i am getting this error.
Please help me out i am very new to this. Thanks in advance.
What are you sending in the DM. From now on it seems that if your message contains an URL the DM will be rejected:
https://support.twitter.com/articles/14606-posting-or-deleting-direct-messages