> ## Documentation Index
> Fetch the complete documentation index at: https://docs.niobi.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Country Was Not Found

## Overview

**400 - Bad Request:**  This error occurs when the provided country ID in the request payload does not match any valid supported country.

```json theme={null}
{
    "success": false,
    "message": "Country was not found."
}
```

## Common Causes and How to Resolve

1. **Invalid Country ID**:
   The `country_id` field contains a value that does not correspond to any supported country.

   **How To Resolve**: Verify the `country_id` against the list of supported country IDs. Refer to the [Supported Countries Section](/countries-v4) or under the API Reference for [Collections](/api-reference/payment-link/unified-collections) and [Disbursements](/api-reference/payment/niobi-unified-payment-version-3).

***

## Best Practices

* **Validate Inputs Before Sending Requests**:
  * Always ensure that the `country_id` value is valid and matches one in the reference list. Additionally, confirm that the country\_id aligns with the country specified in the request payload.

* **Regularly Checking For Updates**:
  * Stay updated on any changes to the API documentation by checking emails from our team.

***

If the issue persists, please contact our team at [support@niobi.co](mailto:support@niobi.co).

***

## Additional Resources

* [Supported Countries](/countries-v4)
