altcha-org/altcha

Free API key: 401 Unauthorized / Too many workers

Closed this issue · 2 comments

I am trying to register for a free API key here: https://altcha.org/docs/api/api_keys

After clicking generate, the loading indicator spins forever:

image

and this error appears in console:

image

I'll note that I am based in Canada, and it appears to be calling your EU-based API: https://eu.altcha.org/api/v1/api_key/generate
Looking at your API documentation, there is a US-based API: https://us.altcha.org/api/v1/api_key/generate

Is your website meant to be calling the US-based API, for users outside the EU -- thus why I'm seeing the 401 Unauthorized?

Moved on to another project -- closing issue.

ovx commented

Hi, thanks for reporting. The 401 error is normal, the endpoint is protected with M2M Altcha; the other error with workers is fixed, affected only some devices. Free API Keys can be used across all regions, the EU endpoint is correct.