question

JamieBurchell-0321 avatar image
1 Vote"
JamieBurchell-0321 asked MaryFHarvey-9562 commented

500 response from endpoint

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-graph-sites-lists
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am also experiencing this issue in my "dev" tenant which is also set to first release. It is not happening in other tenants. "/v1.0/sites?search=a" works fine but "/v1.0/sites?search=*" returns the 500 error.

0 Votes 0 ·
MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered 9411john-9238 commented

Hi @JamieBurchell-0321,

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.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Here are some timestamps and request IDs that have failed for me previously:

2021-07-12T19:11:29
2f3a6ce2-9312-415f-95e5-c2a499ae108f

2021-07-12T19:07:45
6ecb21d4-bc89-4a39-9e56-e9127c104ca2

2021-07-12T18:24:06
3e5aad0e-08b4-4c7c-b060-d996deeeeb57

2021-07-12T17:49:59
49b5ff01-f621-492e-b412-3327e7a0564c

2021-07-11T16:01:05
28152dd9-7534-4123-b73f-4751823fba85

2021-07-10T09:36:56
6d7dfecc-131a-48ba-b4cb-09fae6f5784d

2021-07-10T09:35:45
1e2ef1e2-62dc-4df3-9a91-0557d52a5d36

2021-07-10T09:34:33
0c14d222-b455-49f2-96cf-b0d3571bcff3

2021-07-13T21:05:40
20ce9fe3-09ae-46c6-9313-8878a8c7354a

0 Votes 0 ·

We need an urgent response to this problem. It is affecting numerous people.
I will endeavour to add additional timestamps when I have the time but since 0900BST on 09 July my QNAP HBS3 has only managed to connect once to Onedrive despite repeated attempts at various times of the day.

0 Votes 0 ·
MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered 9411john-9238 commented

Hi @JamieBurchell-0321,

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

114887-image.png



image.png (36.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So has MS changed something recently because problems onky started occuring since 09 July.

1 Vote 1 ·
JamieBurchell-0321 avatar image
0 Votes"
JamieBurchell-0321 answered JamieBurchell-0321 edited

As @9411john-9238 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?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamieBurchell-0321 avatar image
0 Votes"
JamieBurchell-0321 answered

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?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.