The key is recognized, but the API says I lack permission.
Why this happens
401 generally signals absent/invalid authentication; 403 usually means the authenticated identity is not permitted to use the requested resource, model, or organization capability.
Answer 1: Verify the key and its owning workspace/project
from openai import OpenAI
client = OpenAI(api_key="your_api_key_here")
