Select to view content in your preferred language

System.Net.Http.HttpRequestException: Unexpected status line: HTTP/1.1 304 Not Modified in ArcGISHttpClientHandler+NativeHttpMessageHandler.SendAsync

844
1
05-31-2022 11:38 PM
shankarkrishna
Emerging Contributor

While getting the image details with attachments of the Asset an exception is thrown while calling Attachment.GetDataAsync(); but not able to recreate the same again. the issue came in android. ArcGIS runtime version is 100.13

ArcGISHttpClientHandler+NativeHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken, System.Boolean isRetry) System.Net.Http.HttpRequestException: Unexpected status line: HTTP/1.1 304 Not Modified.

Attachment.GetDataAsync();

 

0 Kudos
1 Reply
shankarkrishna
Emerging Contributor
 
ArcGISHttpClientHandler+NativeHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken, System.Boolean isRetry)
System.Net.Http.HttpRequestException: Unexpected status line: HTTP/1.1 200 OK
faced another exception but this time with an Unexpected status line: HTTP/1.1 200 OK. why these exceptions are occurring please help to resolve the issues 

 

0 Kudos