Share via

getdownloadurl api method not working

Baker, Darin C 6 Reputation points
2022-02-09T20:59:55.893+00:00

I previously had setup a demonstration for my organization using the 'getdownloadurl' on export operations as documented here: https://learn.microsoft.com/en-us/graph/api/ediscovery-caseexportoperation-getdownloadurl?view=graph-rest-beta&tabs=http#examples This previously worked without issue, however after a few weeks I revisited this and now this endpoint is throwing the following error: { "error": { "code": "InternalServerError", "message": "An unexpected error occurred.", "innerError": { "date": "2022-02-09T18:12:06", "request-id": "7aee13bf-b6ed-442d-a4c2-873df9a54df3", "client-request-id": "7aee13bf-b6ed-442d-a4c2-873df9a54df3" } } } my curl example is: curl --location --request GET 'https://graph.microsoft.com/beta/compliance/ediscovery/cases/c3c587e0-314e-4704-9bcb-254fa227e6b4/operations/0cb2165ee85748839a1dbf10c21f0d61/microsoft.graph.ediscovery.caseExportOperation/getDownloadUrl' \ --header 'Authorization: Bearer omitted' \ --header 'Content-Type: application/json' Where am I in error here?

Microsoft Security | Microsoft Graph
0 comments No comments

2 answers

Sort by: Most helpful
  1. Bonny Eapen 1 Reputation point Microsoft Employee
    2022-02-10T18:38:38.29+00:00

    We have already identified the issue and fix is getting deployed

    Was this answer helpful?

    0 comments No comments

  2. Srinivasa Rao Darna 6,851 Reputation points Microsoft External Staff
    2022-02-10T06:13:33.52+00:00

    Hi @Baker, Darin C ,

    Please note this API is under the /beta version in Microsoft Graph are subject to change.
    Use of these APIs in production applications is not supported.

    Also, error "InternalServerError" suggests returned by server, the response status code should be 500.
    Refer to this graph errors status codes documentation for more inputs.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.