500 response from endpoint

Jamie Burchell 6 Reputation points
2021-07-12T18:44:32.347+00:00

Since around 9th July I'm getting a 500 response from this endpoint:

/v1.0/sites?search=*&orderby=createdDateTime

When logged in and authenticated with the Graph API explorer I get:

InternalServerError
Unable to find target address

This appears to be affecting several people who run Qnap's HBS3 backup application to synchronise files with OneDrive: https://forum.qnap.com/viewtopic.php?f=15&t=162076

Microsoft Security | Microsoft Graph
{count} vote

4 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,126 Reputation points
    2021-07-13T09:10:31.903+00:00

    Hi @Jamie Burchell ,

    Per my test, the same endpoint works on my end. 500 error usually means there is something wrong with the server. You could wait for some time then test again.

    If it doesn't work. Please share the timestamp and request id of the error to track down this issue.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. MichaelHan-MSFT 18,126 Reputation points
    2021-07-15T06:18:57.297+00:00

    Hi @Jamie Burchell ,

    I helped check the log, the erro shows that you are using personal Microsoft account. This is not supported to call the api: https://learn.microsoft.com/en-us/graph/api/site-get?view=graph-rest-1.0&tabs=http

    114887-image.png


  3. Jamie Burchell 6 Reputation points
    2021-07-15T07:33:50.417+00:00

    As @9411john says, this was working fine for years and nothing has changed in respect to the client making the calls and actually was working intermittently for a short time after the first wave of errors, so this doesn't make a lot of sense.

    Also, shouldn't the error code for an unsupported client request be in the 4xx range?

    0 comments No comments

  4. Jamie Burchell 6 Reputation points
    2021-07-15T19:44:29.773+00:00

    The most recent change I can see mentioned in the API changelog is from 11 June:

    "Updated the OneDrive and SharePoint maximum subscription expiration length to 30 days."

    30 days from 11th June coincides with when this issue has started. Is it the cause?

    0 comments No comments

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.