Auth Emails Or Google Login Are Not Working
Check these first:NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYNEXT_SUPABASE_SERVICE_KEY- Supabase Auth URL configuration
- Site URL is set correctly
/auth/confirmis included in your redirect URLs- Google OAuth is enabled if you expect Google sign-in to work
Magic Link Sends But Login Does Not Complete
This is almost always a redirect mismatch. Check:NEXT_PUBLIC_APP_URL- Supabase
Site URL - Supabase
Redirect URLs
/auth/confirm
A Model Does Not Show Up In The UI
Usually one of these is true:- the provider API key is missing
- the model is not exposed in
lib/ai/models.ts - the app does not use that provider path
- the model supports fewer capabilities than you expected
- a model may support text but not browsing
- a model may support text but not vision
PDF Chat Is Not Working
PDF chat depends on more than one thing:- storage must be configured
- OpenAI embeddings must be available
- the document must actually be uploaded and indexed
- the document must be attached to the chat flow
- embeddings were never created
- retrieval found no strong matches
- OpenAI is missing so the vector step cannot run
Image, Video, Voice, Or Vision Uploads Fail
Check the storage variables:Payments Do Not Record Purchases
Usually one of these is wrong:NEXT_PUBLIC_PAYMENT_PROVIDER- provider webhook secret
- webhook URL
- hosted checkout URLs
- product/variant mapping
/api/payments/[provider]
Analytics Is Not Firing
Check:NEXT_PUBLIC_ANALYTICS_PROVIDER- provider-specific analytics env vars
- whether you restarted the dev server after changing env
Voice Studio Loads But Some Generation Modes Fail
Voice Studio has several separate API paths:- voices
- text-to-speech
- speech-to-speech
- music
- sound effects
The App Runs But Looks Outdated Or Mismatched
This is usually a branding/content issue, not a runtime issue. Check:config.ts- landing page copy
- pricing sections
- app descriptions
- docs content
Mintlify Docs Preview Looks Wrong
Check:- Mintlify is pointed at the
anotherwrapper-premiumrepo - the docs root is
docs/public - the nav in
docs/public/mint.jsonmatches the files that exist
Good Debugging Order
When something is broken, check in this order:- env vars
- provider credentials
- redirect URLs or webhook URLs
- storage config
- whether the feature depends on a second provider you forgot about

