I can confirm it's been solved, thank you for the feedback.
Graph API generated (temporary) Sharepoint download URL returns `BadRequest` for all calls
Scenario: We want to download files from our company sharepoint using an API, which uses the client credentials flow. No users involved. We do this to fetch help files and content for our apps.
Issue: Since this weekend, whenever we want to download files from Sharepoint, a non specific BadRequest exception occurs.
Text: {"error":{"code":"invalidRequest","innerError":{"code":"badArgument"},"message":"One of the provided arguments is not acceptable."}}
It does not specify which arguments aren't acceptable.
The production code generates the request via the Graph API framework, using
--
--
Temporary download also contains the same error,
---
This doesn't work at all.
We can't find a work around.
ApiVersion=2.0
3 additional answers
Sort by: Most helpful
-
Martin 26 Reputation points
2021-07-05T12:02:42.83+00:00 -
Andriejus 61 Reputation points
2021-07-05T16:23:30.583+00:00 Also having exactly the same issue.
Cannot figure out what's happening as the error messages aren't helpful. This functionality used to work just fine days ago.
Can't find any relevant changes in any of the rest api or libary change logs. -
MichaelHan-MSFT 18,036 Reputation points
2021-07-06T08:31:18.75+00:00 Hi @Bart Dekker ,
I have tested on my tenant. This works for me.
Could you please share the timestamp and request id of the error for this endpoint? I would help check the log.