Getting error 503 serviceNotAvailable in graph API

Aditya Bhavar 1 Reputation point
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 Explorer API
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
326 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,456 Reputation points
    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".