Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

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
I am encountering the same problem currently... And my authentification key is a 2.0 API key...…*pWtt4j8‌​8or54fjzQ%28%28%22&tag=%22C%22&fromdate=1230768000&todate=1230768000 </code> – Yulia M Apr 6 at 12:42
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
I am encountering the same problem currently... And the answer provided here doesn't seem to help... My authentification key is a 2.0 API key... I have copied it from my application page ( But the request still gives an error:…*9VFD9SysYMO‌​xJEoKLj2Q%28%28%22&tag=%22C%22&fromdate=1230768000&todate=1230768000 – Yulia M Apr 6 at 12:58

You must log in to answer this question.

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