Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fetch similar apps "Cannot read properties of null (reading 'length')" #701

Open
Pdaret opened this issue Dec 30, 2024 · 0 comments

Comments

@Pdaret
Copy link

Pdaret commented Dec 30, 2024

  • Operating System: Ubuntu24
  • Node version: latest (also tested on node version 18)
  • google-play-scraper version: latest release

Description:

i've use this library to fetch similar apps, but in some cases its cannot scrape similar apps

Example code:

  try {
    const similarApps = await gplay.similar({ appId, fullDetail: true });
    res.json(similarApps);
  } catch (error) {
    res.status(500).json({ error: 'Failed to fetch similar apps', details: error.message });
  }

Error message:

{"error":"Failed to fetch similar apps","details":"Cannot read properties of null (reading 'length')"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant