Even with a MAX account, verify your API credits are active in the Console
The web Claude.ai credits are separate from API credits