I am getting the below error when trying to create any key. Attached are the gateway and portal configs that i am using. Could you please check if there is anything that i am missing? I am using v0.9.4.3 version of dashboard.

So we thought this through some more, and it looks like this was part of a feature that wasn't cleaned up when we introduced hashed keys, and therefore completely useless in it's context.

I've pushed a hotfix - dashboard v0.9.4.4, the docker hub image is currently building and you can d/l it from our github repo.

This version removes the organisation level key limit, and replaces it with an organisation-level developer limit and has nothing to do with how APIs are configured or what keys are in Redis, this means if you are managing an organisations portal, you can set a limit on the number of devs they can sign up (but not how many keys they can issue).

This error is within the dashboard, I have a feeling that you may have run into a quite obscure bug.

Are any of your API definitions marked as keyless?

Would suggest to view the log output of the dashboard container, if you see "failed to get user keys" then Tyk Is trying to enforce a key quota on the organisation but using an keyless API to do so, there is a workaround, but we'd need to confirm it first.

This error occurs because Tyk is trying to check if the users organisation has oversubscribed - it is possible to set key quotas by organisation.

It does this by counting the keys that it can access from the first API in the organisations list of API's (the tyk_organisations collection in Mongo).

If this API is open then there is no auth handler associated, which can break some key lookups - we spent a whil trying to find them all.You could re-order that API list for the orgs and see if it fixes the error...

Will investigate on this end, looks like it may need a patch.Thanks,Martin