Error calling GET – reason language date
-
Hi, first of all, amazing job with the plugin!
…
In dashboard widget (control panel widget for Analytify), when I select and change date range (from:, to:, or both) (pop up calendar) language of the month is changed from my native (croatian) to english (nov, – as the “pop up calendar” is in english) which causes the following error:Error calling GET https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A186208169&start-date=Invalid+date&end-date=2020-11-22&metrics=ga%3Asessions%2Cga%3Abounces%2Cga%3AnewUsers%2Cga%3Aentrances%2Cga%3Apageviews%2Cga%3AsessionDuration%2Cga%3AavgTimeOnPage%2Cga%3Ausers:
(400) Invalid value ‘Invalid date’. Values must match the following regular expression: ‘[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)’This error remains even after I returne dates to my native language, and it is resolved by clearing catch.
Selectable “preset” date ranges work normal, so does manually typing in name of the month in english.
Date range in main app Analytify dashboard works fine, as the “pop up calendar” for date range selection is in the same language as the above date range (english).
This error is not a problem for me but more of a “heads up” for you to try and resolve it in the following updates!
Good job with the plugin once again!
Images:
https://snipboard.io/S6yFzQ.jpg
https://snipboard.io/xKf1Ed.jpg
https://snipboard.io/Rc89pM.jpg
The topic ‘Error calling GET – reason language date’ is closed to new replies.