> ## Documentation Index
> Fetch the complete documentation index at: https://60db.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Playground Troubleshooting

> Common issues and solutions when using the API playground

# API Playground Troubleshooting

The API playground lets you test endpoints directly in the browser. Here are solutions to common issues.

## "Missing required fields to send a playground request"

This error occurs when required parameters haven't been filled in. Here's how to fix it:

### For GET Requests

GET requests typically only need your API key:

1. **Enter your API key** in the Authorization field
2. Click **Send**

Example working GET requests:

* `GET /models`
* `GET /voices`
* `GET /developer/api`

### For POST Requests

POST requests need additional body parameters:

1. **Enter your API key** in the Authorization field
2. **Fill in all required body parameters** (marked with `required`)
3. Click **Send**

Example: For `POST /tts-synthesize`, you must fill in:

* `text` (required) - The text to convert to speech
* `voice_id` (optional) - Voice to use
* `speed` (optional) - Speech speed

### For Path Parameters

Some endpoints have path parameters like `{id}`:

1. **Enter your API key** in the Authorization field
2. **Fill in the path parameter** (e.g., the API key ID)
3. Click \*\*Send\`

Example: `DELETE /developer/api/{id}` requires the API key ID in the URL.

## Common Issues

### Issue: "401 Unauthorized"

**Cause**: Invalid or missing API key

**Solution**:

* Verify your API key is correct
* Get a new API key from [app.60db.ai](https://app.60db.ai)
* Make sure you're including the key in the Authorization field

### Issue: "CORS error"

**Cause**: Browser security blocking the request

**Solution**:

* Make sure you're testing from the documentation site
* Try refreshing the page
* Clear your browser cache

### Issue: Request times out

**Cause**: Network issues or server problems

**Solution**:

* Check your internet connection
* Try again in a few moments
* Check if the API is operational

## Getting Your API Key

1. Go to [app.60db.ai](https://app.60db.ai)
2. Navigate to **Settings → Developer → API Keys**
3. Click **Create API Key**
4. Copy and store your API key securely

## Tips for Using the Playground

1. **Start with GET requests** - They're simpler and only need an API key
2. **Check required fields** - All required fields must be filled before sending
3. **Use example values** - The playground shows example values to help you get started
4. **Test incrementally** - Try one endpoint at a time to understand the API

## Still Having Issues?

If you're still experiencing problems:

* Check the [Authentication](/authentication) documentation
* Contact support at [support@60db.com](mailto:support@60db.com)
* Open an issue on [GitHub](https://github.com/60-db)
