// Job ID: #1308888
using WatershedGA4.Helpers;
await MostReadArticles.Run();
"en-ZA""en-US""MostReadArticlesJob"1Retry attempt 1 of 10: The service analyticsdata has thrown an exception…
An exception occurred during performance of the job.
The service analyticsdata has thrown an exception. HttpStatusCode is BadGateway. No error message was specified.
The service analyticsdata has thrown an exception.
HttpStatusCode is BadGateway.
No JSON error details were specified.
Raw error details are: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 502 (Server Error)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>502.</b> <ins>That’s an error.</ins>
<p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds. <ins>That’s all we know.</ins>
Google.GoogleApiException: The service analyticsdata has thrown an exception. HttpStatusCode is BadGateway. No error message was specified. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Google.Apis.Json.NewtonsoftJsonSerializer.Deserialize(String input, Type type)
at Google.Apis.Json.NewtonsoftJsonSerializer.Deserialize[T](String input)
at Google.Apis.Responses.HttpResponseMessageExtensions.<DeserializeErrorAsync>d__0.MoveNext()
--- End of inner exception stack trace ---
at Google.Apis.Responses.HttpResponseMessageExtensions.<DeserializeErrorAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Google.Apis.Requests.ClientServiceRequest`1.<ParseResponse>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Google.Apis.Requests.ClientServiceRequest`1.Execute()
at GoogleAnalytics.GetAnalyticsData(String propertyId, String dimensions, String[] metrics, DateTime startDate, DateTime endDate, Int32 offset, Int32 limit, String filters) in C:\My Projects\GroupEditors\Analytics\WatershedGA4\Helpers\GoogleAnalytics.cs:line 71
at WatershedGA4.Helpers.MostReadArticles.<Run>d__12.MoveNext() in C:\My Projects\GroupEditors\Analytics\WatershedGA4\Helpers\MostReadArticles.cs:line 80