I get the following error when calling the PSTN api
Please note that you have necessary permissions to call this API.
Refer to the documentation here.
Thanks.
Related
I am using microsoft graph api to fetch emails from office365. There is need to have recall functionality but not able to locate the required api.
Can someone help me in here. I am not sure if such API even exists
There is no endpoint in the Graph for message recall it's all private API's in the clients that implemented it. You could add this as a feature request for the the graph https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform
I would like to know whether a call-back URL can be registered via REST API? If so can I get the API document?
This document says it can be done. But the actual API information is not listed there.
This can be done using the incomingPhoneNumber API endpoint.
https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource
Look at the update code examples, to
understand the syntax.
I'm trying to call Read Reports API from MS Graph API in Microsoft Teams but using this API :
https://graph.microsoft.com/v1.0/reports/getTeamsUserActivityUserDetail(period='D7')?$format=application/json
but it gives me the following error:
Unhandled Rejection (Error):
{
"error": {
"code":"S2SUnauthorized",
"message":"Invalid permission."
}
}
I'm using MSAL authentication and Graph client, I did everything exactly the same in the tutorial of Microsoft Graph and I provided the required permission, Registered the App, added everything correctly in Azure and Granted permission by admin, changed them to Application from delegate it works for all other APIs but this API isn't working.
I couldn't found any documentation related to call Read Reports API. It could be helpful if you have shared the tutorial which you are following. Please check this documentation for call record API
I am use Grape for create API and use AWS SNS, at the moment I want send request for confirmation but my API code is not executed. The request is sent (I'm looking at the logs), but the code does not work. However it's work via POSTMAN. Found an article where it is implemented through the controller, I did the same and it worked for me, could you tell me please, why is not the code executed for API?
Did you test this through a curl? Please check content type
I am trying to get youtube video views by date range and it is working fine with oAuth. But I am using cron script to collect those data through service account, when I try to execute the script it says:
Error calling GET https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DUC88Bq63MDJi9szYPEGfv7YA&start-date=2014-02-01&end-date=2016-06-29&metrics=views:
(400) Invalid query. Query did not conform to the expectations".
Could you please help me anyone to resolve this issue. Thanks in advance.
Using service account is not supported by Youtube Analytics and Reporting API
The service account flow supports server-to-server interactions that do not access user information. However, the YouTube Reporting API and YouTube Analytics API do not support this flow. Since there is no way to link a Service Account to a YouTube account, attempts to authorize requests with this flow will generate an error.
Unfortunately, you need to do OAuth2 to get your report.
Resources you can check for information:
Youtube Analytics API PHP Invalid query. Query did not conform to the expectations
Implement OAuth 2.0 Authorization