> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-serverless-sft-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Errors

> Common API errors and how to resolve them

The following table lists common API errors you might encounter:

| Error Code | Message                                                                     | Cause                                                                                                  | Solution                                                                                                                                                        |
| ---------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 401        | Authentication failed                                                       | Your authentication credentials are incorrect or your W\&B project entity and/or name are incorrect.   | Ensure you're using the correct API key and that your W\&B project name and entity are correct.                                                                 |
| 402        | You exceeded your current quota, please check your plan and billing details | Out of credits or reached monthly spending cap.                                                        | Get more credits or increase your limits. For more information, see [Usage information and limits](/inference/usage-limits/).                                   |
| 403        | Country, region, or territory not supported                                 | Accessing the API from an unsupported location.                                                        | Please see [Geographic restrictions](/inference/usage-limits/#geographic-restrictions)                                                                          |
| 403        | The inference gateway is not enabled for your organization                  | Your organization doesn't have the inference gateway enabled, which is required to use W\&B Inference. | Contact your W\&B administrator to enable the inference gateway for your organization, or reach out to [W\&B support](mailto:support@wandb.com) for assistance. |
| 429        | Concurrency limit reached for requests                                      | Too many concurrent requests.                                                                          | Reduce the number of concurrent requests or increase your limits. For more information, see [Usage information and limits](/inference/usage-limits/).           |
| 500        | The server had an error while processing your request                       | Internal server error.                                                                                 | Retry after a brief wait and contact support if it persists.                                                                                                    |
| 503        | The engine is currently overloaded, please try again later                  | Server is experiencing high traffic.                                                                   | Retry your request after a short delay.                                                                                                                         |
