question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

appId, apiKey sent over query parameter

See original GitHub issue

Hi,

I’m seeing 403 responses from the places widget:

{
    "message": "Invalid Application-ID or API key",
    "status": 403
}

I’ve made sure that the API key and app ID are valid. After looking into the developer tools, I see that it sends the api key and app ID parameters not as HTTP headers (as specified in the docs of the JS SDK), but as query parameters.

Screenshot: https://www.dropbox.com/s/vl73upc91sbsi9z/Screenshot 2016-09-29 21.20.36.png?dl=0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:29 (12 by maintainers)

github_iconTop GitHub Comments

12reactions
vvocommented, Apr 30, 2021

~Hi @CHH, you need to create a specific places account: https://www.algolia.com/users/sign_up/places~

~Right now you created an Algolia account. Sorry if that’s not obvious (it’s not). Thanks for trying places!~

~Reopen the issue if needed.~

EDIT: sign ups for Algolia Places have been disabled as the feature is being sunset on May 31st 2022. It is not possible anymore to create places applications.

2reactions
thibauldcommented, Dec 30, 2016

Hi, I can confirm it was definitely not obvious that it is needed to create a specific places account 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass api ID and api Key as authentication ...
Here is my code; trust me that the app id and key are the correct strings. const url = 'https://od-api.oxforddictionaries.com/api/v1/entries/en/ ...
Read more >
API Key Usage - API data - Data.gov
Note: The GET query parameter may be used for non-GET requests (such as POST and PUT). HTTP Basic Auth Username. As an alternative,...
Read more >
How to Use API Keys | The Full-Stack Blog - GitHub Pages
In this guide, we'll generate an API key that we can use to query the OpenWeather API for weather data.
Read more >
API Keys
Some APIs use API keys for authorization. An API key is a token that a client provides when making API calls. The key...
Read more >
Setting up API key validation | Apigee Edge
For example, the policy configuration below defines the expected key location as a query parameter named apikey . A successful request must present...
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