Getting error 503 serviceNotAvailable in graph API

Aditya Bhavar 6 Reputation points
2022-11-15T16:15:39.7+00:00

"File "C:\Program Files\Python310\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable"

Getting error 503 serviceNotAvailable when downloading group items in graph api

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,238 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,741 Reputation points Microsoft Vendor
    2022-11-15T17:21:27.433+00:00

    Hi @Aditya Bhavar ,

    As per documentation graph-errors 503 - The service is temporarily unavailable for maintenance or is overloaded. You may repeat the request after a delay, the length of which may be specified in a Retry-After header.

    Additionally, see if you are getting throttled - and follow the Best practices to avoid throttling.

    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".


Your answer

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