Getting error while uploading video via API on a channel which was working properly before, and started to get this error after a transfer of the youtube channel was initiated.
Tried to re-authenticate from initial owner's account and then also from the account to which we requested to be transferred to and still getting this error which seems to be an unexpected behaviour
{
code: 401,
errors: [
{
message: 'Unauthorized',
domain: 'youtube.header',
reason: 'youtubeSignupRequired',
location: 'Authorization',
locationType: 'header'
}
]
}
Related
The teams list channel Graph API has started throw Unauthorized error as below. It use to work fine until yesterday. We are using "ServicePrincipal" for authentication and it has all necessary graph permission. In this case - Group.Read.All
Sample endpoint we are using is as below.
https://graph.microsoft.com/v1.0/teams/dccde580-0fc5-11eb-adc1-0242ac120002/channels.
Since this morning, it is failing continuously with the below error. More over, this is not a beta API.
As per our analysis, it is failing for those teams which has a private channel it. But as per documentation, private channels should be returned in the response as well. I dont understand what could be the issue.
Any idea / hints /help in this regard is really appreciated.
{
"error": {
"code": "Unauthorized",
"message": "Failed to execute Aad backend request GetUsersByObjectIdsRequest. Workload Unknown. Request Url: https://graph.windows.net/myorganization/getObjectsByObjectIds?api-version=1.61-internal, Request Method: POST, Response Status Code: Unauthorized, Response Headers: ocp-aad-diagnostics-server-name: 0yK5pQbb6mmQTig21hH07WmGI0k2nuTime8Zw4wMO7k=\r\nrequest-id: c33c655e-27f7-4f96-aabf-70e6d9d8770d\r\nclient-request-id: 5bd775a7-7dba-4ad7-bc9a-fbd91ae46fea\r\nStrict-Transport-Security: max-age=31536000; includeSubDomains\r\nDate: Fri, 16 Oct 2020 15:23:45 GMT\r\n, Reason Phrase: Unauthorized",
"innerError": {
"date": "2020-10-16T15:23:45",
"request-id": "3f3793b8-02d6-4653-a14f-3e455660e3d8",
"client-request-id": "3f3793b8-02d6-4653-a14f-3e455660e3d8"
}
}
}
We are facing the same issue, and the error exist in some of our test tenants and it will thrown by microsoft when we using the application permission to make the request.
The requests with the delegate permission token work without any issue.
Microsoft adds some Permissons.
https://learn.microsoft.com/de-de/graph/api/channel-list?view=graph-rest-beta&tabs=http
Do you have the application permissons?
Do you use the beta endpoint?
Look at this: https://learn.microsoft.com/de-de/microsoftteams/platform/graph-api/rsc/resource-specific-consent
This is the api: https://slack.com/api/channels.history
Request:
token=&channel=(Removing the token and channel name for privacy)
Response:
{
"ok": false,
"error": "not_authed"
}
The token I have provided is correct, can someone tell what can be the issue here?
When trying to send a CURL request to:
https://preview.twilio.com/porting/PortOrders
I get the following response when using our Master account credentials:
{
"code": 20404,
"message": "The requested resource /porting/PortOrders was not found",
"more_info": "https://www.twilio.com/docs/errors/20404",
"status": 404
}
Has the porting API url changed and the docs haven't been updated?
I am trying to upload a Spherical Image to Facebook from S3. by doing the following
begin
#client.put_picture("https://s3.amazonaws.com/skreem-dev/PANO_20160717_120803_1.jpg", { allow_spherical_photo: true })
rescue Exception => e
print e.inspect
end
It returns the following Error Message
#<Koala::Facebook::ServerError: type: OAuthException, code: 1, message: An unknown error has occurred. [HTTP 500]>
It works with any normal images from the same s3 bucket
** UPDATE 1 **
Tried to upload the same image from Godaddy and i am facing the same issue.
** UPDATE 2 **
Tried to upload via Graphy API Explorer, but getting the same error
{
"error": {
"message": "An unknown error has occurred.",
"type": "OAuthException",
"code": 1,
"fbtrace_id": "CWqqwQ3WBq+"
}
}
I think that your almost 15Mb image is too large. The error you are getting from Koala is not that accurate, you can try to upload it from the Facebook API explorer https://developers.facebook.com/tools/explorer and see.
Also, check the token you're using, as this is throwing an OAuth error. It could be expired.
I'm passing the following to the youtube.channels.list method in the YouTube Data API (v3).
[key] => foo,
[forUsername] => royaloperahouse,
[part] => topicDetails
But my response just contains a 500 Internal Server Error:
{
"error": {
"code": 500,
"message": null
}
}
I get the same behaviour from the Google Developers Console. What could be causing this? Am I missing something here?
YouTube confirmed this was an API bug and it was subsequently fixed.