Google Trends Scraper avatar
Google Trends Scraper
Try for free

7 days trial then $20.00/month - No credit card required now

View all Actors
Google Trends Scraper

Google Trends Scraper

emastra/google-trends-scraper
Try for free

7 days trial then $20.00/month - No credit card required now

Scrape data from Google Trends by search terms or URLs. Specify locations, define time ranges, select categories to get interest by subregion and over time, related queries and topics, and more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

User avatar

TypeError: Cannot read properties of null (reading 'some')

Closed

the_hbm_machine opened this issue
a year ago

2023-03-28T14:33:37.563Z ACTOR: Pulling Docker image from repository. 2023-03-28T14:33:38.721Z ACTOR: Creating Docker container. 2023-03-28T14:33:39.121Z ACTOR: Starting Docker container. 2023-03-28T14:33:40.412Z Starting X virtual framebuffer using: Xvfb :99 -ac -screen 0 1920x1080x24+32 -nolisten tcp 2023-03-28T14:33:40.413Z Executing main command 2023-03-28T14:33:41.708Z INFO System info {"apifyVersion":"3.1.4","apifyClientVersion":"2.6.3","crawleeVersion":"3.3.0","osType":"Linux","nodeVersion":"v16.19.1"} 2023-03-28T14:33:41.872Z INFO Importing spreadsheet... 2023-03-28T14:33:48.934Z file:///home/myuser/dist/utils.js:109 2023-03-28T14:33:48.941Z const isBadFormat = output.some((item) => Object.keys(item).length !== 1); 2023-03-28T14:33:48.942Z ^ 2023-03-28T14:33:48.942Z 2023-03-28T14:33:48.943Z TypeError: Cannot read properties of null (reading 'some') 2023-03-28T14:33:48.944Z at checkAndCreateUrlSource (file:///home/myuser/dist/utils.js:109:36) 2023-03-28T14:33:48.944Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2023-03-28T14:33:48.945Z at async file:///home/myuser/dist/main.js:12:33

User avatar

Hello,

You cna look at your Google Sheeets run. It seems like you are using different Google account than last time, is that true?

2023-03-28T14:36:46.895Z Request Getting spreadsheet metadata failed with error The caller does not have permission 2023-03-28T14:36:46.898Z Perhaps you used a wrong Google account? 2023-03-28T14:36:46.901Z If you want to use a different Google account or use multiple Google accounts, please follow the guide here: 2023-03-28T14:36:46.903Z https://apify.com/lukaskrivka/google-sheets#authentication-and-authorization

User avatar

the_hbm_machine

a year ago

thanks! was an issue with the sheet permissions, works now

Developer
Maintained by Apify
Actor metrics
  • 89 monthly users
  • 99.9% runs succeeded
  • 3.1 days response time
  • Created in Jan 2020
  • Modified 1 day ago