kError code when trying to add historical data Jetpac
-
Hello,
I really would love to add my historical stats data from Jetpack, so I was delighted to see that option now. However, I get the following message. I used the Api Key as provided, and it also happens when I try to import 1 day only.
“An error occurred trying to import your statistics. Received non-JSON response from WordPress.com API:Error: api_key does not belong to an administrator of blogRequired parameters: api_key, blog_id or blog_uri.Optional parameters: table, post_id, end, days, limit, summarize.Parameters:api_key String A secret unique to your WordPress.com user account.blog_id Integer The number that identifies your blog. Find it in other stats URLs.blog_uri String The full URL to the root directory of your blog. Including the full path.table String One of views, postviews, referrers, referrers_grouped, searchterms, clicks, videoplays.post_id Integer For use with postviews table. Also accepts a comma-separated list of integers.end String The last day of the desired time frame. Format is \’Y-m-d\’ (e.g. 2007-05-01) and default is UTC date.days Integer The length of the desired time frame. Default is 30. \”-1\” means unlimited.period String For use with views table and the \’days\’ parameter. The desired time period grouping. \’week\’ or \’month\’ Use \’days\’ as the number of results to return (e.g. \’&period=week&days=12\’ to return 12 weeks)limit Integer The maximum number of records to return. Default is 100. \”-1\” means unlimited. If days is -1, limit is capped at 500.summarize Flag If present, summarizes all matching records.format String The format the data is returned in, \’csv\’, \’xml\’ or \’json\’. Default is \’csv\’.Non-working query example: ?api_key=123456789abc&blog_id=155&table=referrers&days=30&limit=-1&summarizeResult format is csv with one row per line and column names in first row.Strings containing double quotes, commas, or \”\n\” are enclosed in double-quotes. Double-qoutes in strings are escaped by inserting another double-quote.Example: \”pet food\” recipeBecomes: \”\”\”pet food\”\” recipe\”Developers, please cache the results for at least 180 seconds.”
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.