The response from the API seems pretty definitive. Have you tried…
- Forgetting and reentering the API key.
- Entering a different API key.
- Testing the existing API key in another app, or using an API client such as Postman.
I assume you copied and pasted the key, but is there any chance it may have included an extra space at the end or similar?