Why am I getting authentication errors with my API key?

Verify your API key is correctly set as the GROQ_API_KEY environment variable, check for typos, and ensure the key hasn’t been revoked or expired.