Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say (for example) I received the following API key:


So using this key, I'm attempting to run a simple query like:

And I get the message:

    "error_id": 400,
    "error_name": "bad_parameter",
    "error_message": "`key` doesn't match a known application"

Am I using the API key correctly?

Note that I didn't want to post the real API key here for obvious reasons but if need be I can provide it.

share|improve this question
up vote 4 down vote accepted

Tim Stone pointed out that I was trying to use a 1.1 key with the 2.0 API, which of course doesn't work.

I've registered for a 2.0 API key and everything is sorted out now.

share|improve this answer
note, this can also occur if you accidentally mix up your secret and key (or supply invalid key in general) – lfender6445 Mar 10 '15 at 2:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .