Why Upgrade is Required
The real-time transcription API is a premium feature that requires an upgraded AssemblyAI account. This ensures:- Access to high-performance streaming infrastructure
- Low-latency real-time transcription capabilities
- Priority support and higher usage limits
- Advanced features like speaker diarization and custom vocabulary
Understanding the 402 Error
If you try to use the real-time API without an upgraded account, you’ll encounter a 402 Unauthorized status code. What you’ll see:- The “Record” button may not start recording
- An alert: “WebSocket error, check the console.”
- Console errors related to WebSocket connection failure
How to Upgrade Your Account
Follow these steps to upgrade your AssemblyAI account:Step 1: Access Your Dashboard
Go to the AssemblyAI DashboardStep 2: Navigate to Billing
- Log in with your credentials
- Click on your account menu (top-right corner)
- Select “Billing” or “Account Settings”
Step 3: Add Payment Method
- Click “Add Payment Method” or “Upgrade Account”
- Enter your payment card information
- Complete the billing information form
- Click “Save” or “Submit”
Step 4: Verify Upgrade
Once your payment method is added:- Your account should be automatically upgraded
- You’ll see a confirmation message
- Your dashboard will show updated usage limits
Step 5: Restart Your Application
After upgrading:- Stop the running application (Ctrl+C in the terminal)
- Restart with
yarn serve - Try recording again
Pricing Information
AssemblyAI uses a pay-as-you-go pricing model:- You’re only charged for the audio you transcribe
- Real-time transcription is priced per audio hour
- No monthly minimum or subscription fees
- Free tier available for testing (limited usage)
Billing & Usage Tracking
Once upgraded, you can monitor your usage:- Go to app.assemblyai.com
- Navigate to the “Usage” section
- View:
- Total audio minutes transcribed
- Current billing period usage
- Estimated costs
- Usage history and trends
Free Tier & Testing
Even with an upgraded account, AssemblyAI offers:- Free trial credits for new accounts
- Development/testing usage allowances
- Sandbox environments for experimentation
Troubleshooting Upgrade Issues
Still Getting 402 Error After Upgrade
Still Getting 402 Error After Upgrade
If you upgraded but still see 402 errors:
- Wait a few minutes: Account upgrades may take 1-2 minutes to propagate
- Verify payment was processed: Check your email for confirmation
- Clear your API token cache:
- Stop the application
- Restart the server to get a fresh token
- Regenerate your API key:
- Go to your dashboard
- Navigate to API Keys
- Generate a new key and update your
.envfile
- Contact support: If issues persist, email [email protected]
Payment Method Declined
Payment Method Declined
If your payment method is declined:
- Check card details: Verify card number, expiration, and CVV
- Contact your bank: Ensure the charge is not blocked
- Try a different card: Some cards may have restrictions on API services
- Check billing address: Ensure it matches your card’s billing address
- Try PayPal or alternative methods: If available in your region
Need Invoice or Receipt
Need Invoice or Receipt
For billing documentation:
- Go to app.assemblyai.com
- Navigate to “Billing” → “Invoices”
- Download invoices for any billing period
- Receipts are automatically emailed after each charge
- For custom invoices, contact [email protected]
Downgrading or Cancelling
If you need to downgrade:- Go to your dashboard billing settings
- Remove your payment method
- Note: You’ll lose access to real-time API features
- Your account will revert to the free tier
- Existing transcriptions and data remain accessible
Support
For billing or account upgrade assistance:- Email: [email protected]
- Dashboard: app.assemblyai.com
- Include your account email and issue description