How to solve "MailboxInfoStale" and "Service Unavailable - 503" error when I use https://graph.microsoft.com/v1.0/me/messages API

Zhang Wei Alan 0 Reputation points
2024-05-02T21:25:05.76+00:00

First, I loged in with microsoft account, so I have access token already
Then when I try to use https://graph.microsoft.com/v1.0/me/messages API, I got "Service Unavailable - 503" error
I have Mail.Read permission already and I tried https://graph.microsoft.com/v1.0/me API, this API works fine

error json: { "error": { "code": "MailboxInfoStale", "message": "Target resource '00030000-ca28-936b-0000-000000000000' hosted on database '8d02d25d-52fe-4702-86ee-78bc22716108' is currently on backend 'Unknown'" } }

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser Chrome
  • Chrome Version 124.0.6367.91
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,772 questions
{count} votes

1 answer

Sort by: Most helpful
  1. awijekoon 1,260 Reputation points Microsoft Vendor
    2024-05-05T01:28:55.3833333+00:00

    Zhang

    according to the documentation, it can be temporally issue. https://learn.microsoft.com/en-us/graph/errors#http-status-codes

    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.

    0 comments No comments