getting 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.' but data getting ingested

See original GitHub issue

Hi, I’m getting the error 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.'on the console even though all records have been added to the index successfully it seems (the record count is same as in the .json data file). The .json file is not even 200KB with 220 records. I’m also sending data in small batches (30 records/batch).
I’m using "algoliasearch": "^4.11.0" . Any idea what’s causing this? Thanks.

algoliaerr

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
Haroenvcommented, Jan 10, 2022

This error means that the servers could not be contacted, and usually is caused by a network problem. If you can reproduce that consistently, please contact support@algolia.com

0reactions
eagorcommented, Nov 8, 2022

for me the reason was trying to use the app_id from the environment vars (next.js project). Directly copying the id and api_key fixed the problem. Careful! Don’t expose the admin_key to the browser, use search-only api key!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Logstash error : elasticsearch host unreachable
Hello Community, I have a logstash running in a virtual box Centos system and purpose is for collecting a log file and parsing...
Read more >
"Only supported with OpenShift bundles" - Code-Ready/Crc
getting 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.' but data getting ...
Read more >
Algolia Algoliasearch-Client-Javascript Statistics & Issues - Codesti
getting 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.' but data getting ingested, closed ...
Read more >
Algolia algoliasearch-client-javascript Issues
getting 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.' but data getting ingested.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found