O365 Attachment API got "Unable to cast object of type" error - office365-apps

Any resolution/mitigation on this?
The issue can be reproduced on API explorer (https://graphexplorer2.azurewebsites.net) with following REST API Repro steps:
Logon API Explorer with your tenant, https://graphexplorer2.azurewebsites.net
Get the group conversation attachments with following API In my case:
You will get following error:
Request duration: 6086 ms. CollapseExpandRawJSON Error: 500 - Internal Server Error See Response Headers for details. { "error": { "code": "ErrorInternalServerError", "message": "Unable to cast object of type 'Microsoft.Exchange.Services.OData.Model.AttachmentSchema' to type 'Microsoft.Exchange.Services.OData.Web.IRequestBuilderForEntitySet`2[Microsoft.Exchange.Services.OData.Model.Post,Microsoft.Exchange.Services.OData.Model.Attachment]'.", "innerError": { "request-id": "89efeca6-ba17-478b-aa8e-f3bf6ec32cd0", "date": "2016-01-08T09:56:39" } } }
Thanks,
Raymond

This was a bug in the service. The fix for it is being rolled out and you should no longer see the error.

Related

Write access to project denied when trying to deploy to Firebase hosting

I have been working on a project for a couple of months and when I tried to deploy updates today I was met with the following error: HTTP Error: 403, Write access to project was denied
This is not the first time I have called firebase deploy for this project but I haven't had any issues before.
The relevant section of the log generated with firebase deploy --debug:
[2023-02-14T09:05:36.343Z] >>> [apiv2][query] POST https://cloudfunctions.googleapis.com/v2/projects/galimbang-192cf/locations/us-central1/functions:generateUploadUrl [none]
[2023-02-14T09:05:37.947Z] <<< [apiv2][status] POST https://cloudfunctions.googleapis.com/v2/projects/galimbang-192cf/locations/us-central1/functions:generateUploadUrl 403
[2023-02-14T09:05:37.947Z] <<< [apiv2][body] POST https://cloudfunctions.googleapis.com/v2/projects/galimbang-192cf/locations/us-central1/functions:generateUploadUrl {"error":{"code":403,"message":"Write access to project 'galimbang-192cf' was denied","status":"PERMISSION_DENIED"}}
There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.
⚠ functions: Upload Error: HTTP Error: 403, Write access to project 'galimbang-192cf' was denied
Error: HTTP Error: 403, Write access to project 'galimbang-192cf' was denied
[2023-02-14T09:05:37.950Z] Error Context: {
"body": {
"error": {
"code": 403,
"message": "Write access to project 'galimbang-192cf' was denied",
"status": "PERMISSION_DENIED"
}
},
"response": {
"statusCode": 403
}
}
I should also note that this project uses the Next.JS firebase integration.

Documentum REST API issue

I have successfully installed Documentum REST API in my environment. When I go to http://localhost:8080/dctm-rest/repositories I am able to see the repositories successfully. But when I when I try to open any cabinet URL there, it prompts for username password.
I put a password there and it works fine.
But when I send the request using Postman it shows this error
"status": 401,
"code": "E_GENERAL_AUTHENTICATION_ERROR",
"message": "Authentication failed.",
"details": "Full authentication is required to access this resource"
and when sending with Authorization in the format
Authorization : Basic (base64 value of "username:password")
it shows
"status": 400,
"code": "E_INPUT_ILLEGAL_ARGUMENTS_PARAM",
"message": "Illegal argument {0} provided with value {1}.",
"details": "Parameter conditions \"dql\" not met for actual request
parameters: "
You Have to turn on the Interceptor to make proxy-authenticated request so that it has the same request context as of browser.
I tried few links and used Basic Auth, which worked!

How to share file with room in HipChat via Postman or Jersey client?

Please provide the solution for this (I am new to jersey and postman). I tried with below link but unable to share the file: https://www.hipchat.com/docs/apiv2/method/share_file_with_room
I attached screen shots, which I tried from postman.
Note: I used API access token with send message scope.
I am getting below error as response:
{
"error": {
"code": 400,
"message": "No file was found in the request. See https://www.hipchat.com/docs/apiv2/method/share_file_with_room for an example",
"type": "Bad Request"
}
}

Youtube analytics API Playlists filter returns Unknown error occurred on the server

When retrieving my playlists statistics using the Youtube Analytics API, quite often the API returns error 500
{
"error": {
"errors": [
{
"domain": "global",
"reason": "internalError",
"message": "Unknown error occurred on the server."
}
],
"code": 500,
"message": "Unknown error occurred on the server."
}
}
The request that I make is authorized, by turning on the Authorize requests using OAuth 2.0 in the api explorer
Here is a link to the API explorer, which is taken from the official documentation
Any ideas? Thank you!

Facebook Graph API Explorer won't delete a request

I'm trying to delete a request via Graph API Explorer. Request is generated by my mobile application. Of course, I use an access token from this application. And I've got the following error:
{
"error": {
"message": "(#2) Failed to delete any app request",
"type": "OAuthException",
"code": 2
}
}
The request exists, I can GET it.
The issue was that I tried to delete a request that didn't belong to me.