如何解决Google Analytics(分析)WP插件错误23?

时间:2020-08-09 19:18:43

标签: php wordpress google-analytics google-analytics-api

有人遇到以下错误吗?我该如何解决?预先感谢您的建议

Error Details
Count: 1
Last Error:
2020-08-09 11:37:48: Deconfin_Service_Exception: Error calling GET https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A185858750&start-date=today&end-date=today&metrics=ga%3Ausers&dimensions=ga%3Ahour&quotaUser=u1s1p185858750&samplingLevel=HIGHER_PRECISION: (503) There was a temporary error. Please try again later. in /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php:110

Stack trace: #0 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php(62): Deconfin_Http_REST::decodeHttpResponse(Object(Deconfin_Http_Request), Object(Deconfin_Client))

#1 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Task/Runner.php(174): Deconfin_Http_REST::doExecute(Object(Deconfin_Client), Object(Deconfin_Http_Request))

#2 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php(46): Deconfin_Task_Runner->run()

#3 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Client.php(611): Deconfin_Http_REST::execute(Object(Deconfin_Client), Object(Deconfin_Http_Request))

#4 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Service/Resource.php(240): Deconfin_Client->execute(Object(Deconfin_Http_Request))

#5 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Service/Analytics.php(2052): Deconfin_Service_Resource->call('get', Array, 'Deconfin_Servic...')

#6 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/gapi.php(361): Deconfin_Service_Analytics_DataGa_Resource->get('ga:185858750', 'today', 'today', 'ga:users', Array)

#7 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/gapi.php(457): GAINWP_GAPI_Controller->handle_corereports('185858750', 'today', 'today', 'ga:users', Array, 'qr2_3095809337')

#8 /home/u462343431/public_html/wp-content/plugins/ga-in/tools/gapi.php(950): GAINWP_GAPI_Controller->get_areachart_data('185858750', 'today', 'today', 'users', false)

#9 /home/u462343431/public_html/wp-content/plugins/ga-in/admin/ajax-actions.php(116): GAINWP_GAPI_Controller->get('185858750', 'users', 'today', 'today', false, 'sessions')

#10 /home/u462343431/public_html/wp-includes/class-wp-hook.php(288): GAINWP_Backend_Ajax->ajax_item_reports('')

#11 /home/u462343431/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #12 /home/u462343431/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #13 /home/u462343431/public_html/wp-admin/admin-ajax.php(175): do_action('wp_ajax_gainwp_...') #14 {main}

GAPI Error: Array ( [0] => 503 [1] => Array ( [0] => Array ( [message] => There was a temporary error. Please try again later. [domain] => global [reason] => backendError )

    )

)

1 个答案:

答案 0 :(得分:0)

这是Google发出的临时错误。它与插件没有密切关系,它来自Google API的临时中断。

此Google Analytics(分析)API错误表明处理您的查询请求时出现问题。如果您在短时间内进行了太多错误查询,或者当天用完了配额,就会发生这种情况。在某些情况下,这可能表明服务器太忙而无法处理您的请求(通常用于非常大的查询)。

太多尝试将导致甚至好的查询都被这种方式阻止。

唯一的解决方案是等待一段时间(第二天),直到API让您重试为止。