Intermittent 406 Not Acceptable on https://graph.microsoft.com/v1.0/drives/{driveId}/items/{itemId}/thumbnails

Ben Heymink 0 Reputation points
2024-04-15T10:18:36.2166667+00:00

When calling this endpoint

 

https://graph.microsoft.com/v1.0/drives/{driveId}/items/{itemId}/thumbnails?select=c1920x1080

 

It seems to fail intermittently with a 406 Not Acceptable error. There is no identifiable pattern linking this failure to the frequency of the calls or the files upon which they operate. Sometimes it works, sometimes it doesn't.

 

When this call succeeds, the response headers are:

 

Cache-Control: private, max-age=2592000 ETag: "{####REDACTED_UUID####},4" X-AspNetMvc-Version: 5.2 Access-Control-Expose-Headers: x-cache, x-msedge-ref, x-azure-ref-originshield X-OneDriveMpc-Version: 1.1.9.0 X-StreamOrigin: Generated Server-Timing: Provider;dur=99,SharePoint;dur=70,StreamRead;dur=1,TotalRequest;dur=1169,Sandbox;dur=339 Request-Stat: Cached;False,RemoteReads;1 X-CorrelationId: ####REDACTED_UUID#### X-OneDriveMeTA-Version: 1.480.58163.0 X-OneDriveMeTA-Build: Media_prod_31514963_040124.1_03-28-2024 X-OneDriveMeTA-Region: uksouth X-AspNet-Version: 4.0.30319 X-Cache: CONFIG_NOCACHE X-MSEdge-Ref: Ref A: 4C7E5379A31A461BA31ABE24F020A958 Ref B: BLUEDGE1512 Ref C: 2024-04-12T17:26:10Z Date: Fri, 12 Apr 2024 17:26:11 GMT

 

When this call fails, the response headers are:

Cache-Control: private X-AspNetMvc-Version: 5.2 Access-Control-Expose-Headers: x-cache, x-msedge-ref, x-azure-ref-originshield X-OneDriveMpc-Version: 1.1.9.0 X-OneDrive-ThumbnailFailureReason: Fatal Server-Timing: Provider;dur=53,SharePoint;dur=36,StreamRead;dur=0,TotalRequest;dur=63,Sandbox;dur=0 Request-Stat: Cached;False,RemoteReads;1 X-CorrelationId: ####REDACTED_UUID#### X-OneDriveMeTA-Version: 1.480.58163.0 X-OneDriveMeTA-Build: Media_prod_31514963_040124.1_03-28-2024 X-OneDriveMeTA-Region: uksouth X-ErrorCode: SubStreamCached_Fatal X-ErrorType: Expected X-ErrorSource: Content X-AspNet-Version: 4.0.30319 X-Cache: CONFIG_NOCACHE X-MSEdge-Ref: Ref A: B1D86F259220468BBD3634702510CA2F Ref B: BLUEDGE1119 Ref C: 2024-04-12T17:27:28Z Date: Fri, 12 Apr 2024 17:27:28 GMT

 

Error response JSON

 

{

  "error":{

     "code": "generalException",

      "message": "Substitution Stream found in slot (Original Time: 2024-04-12 18:20:00Z. Fatal request: additional info, 08166573-5fe",

      "innererror": { "code": "SubStreamCached_Fatal" }

   }

}

I'm failing to see what we're doing wrong, given it sometimes works (for the same file) - any ideas?

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

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.