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.
Common Causes and How to Resolve
-
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 or under the API Reference for Collections and Disbursements.
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.
- Always ensure that the
- 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.