PMassicotte / gtrendsR

R functions to perform and display Google Trends queries
352 stars 112 forks source link

Error in interest_over_time(widget, comparison_item, tz) : Status code was not 200. Returned status code:401 #417

Closed kamaldxb closed 2 years ago

kamaldxb commented 2 years ago

Hi, I'm getting the following error message "Error in interest_over_time(widget, comparison_item, tz) : Status code was not 200. Returned status code:401" even when running the sample query from the help page: gtrendsR::gtrends(c("NHL", "NFL"), time = "today 1-m") # last 30 days

I'm on R Version 1.4.1106 and am using version 1.5.0 of gtrendsR

eddelbuettel commented 2 years ago

Duplicate of #414, also see #415