microsoftgraph / microsoftgraph/msgraph-beta-sdk-dotnet
Exception using Reports.GetOffice365GroupsActivityDetailWithPeriod
Open
Nobody has claimed this yet.
Bug: metadata
OpenApi
- Dominant language
- C#
- Stars
- 112
- Forks
- 37
- Avg merge
- 14h 57m
- Merged PRs (30d)
- 3
Description
Using Graph 5.43.0-preview. When accessing following method:
var response = await GraphBetaClient.Reports.GetOffice365GroupsActivityDetailWithPeriod("D7").GetAsync();
I am getting this exception:
Exception thrown: 'System.InvalidOperationException' in System.Private.CoreLib.dll ("Content type application/octet-stream does not have a factory registered to be parsed")
Is there something I am doing wrong?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Reports.GetOffice365GroupsActivityDetailWithPeriod("D7").GetAsync() call with Graph 5.43.0-preview and inspect how its application/octet-stream response is handled. Done means the request no longer raises the parsing exception, or the required usage and limitation are documented if the response cannot be parsed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100