---
title: "Simulate error scenarios"
slug: "simulate-error-scenarios"
updated: 2025-06-23T07:33:34Z
published: 2025-06-23T07:33:34Z
canonical: "docs.xendit.co/simulate-error-scenarios"
---

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

# Simulate error scenarios

To allow a full test coverage of error scenarios before going live, Xendit provides different methods for your system to simulate success, error and failure scenarios. You can simulate these scenarios using an API key created in Test Mode. Refer to the table below for the list of supported scenarios.

*Click on each row to see full details of each scenario.*

[Embedded content](https://airtable.com/embed/appYc7UnQq5CmKe0G/shrkMfdd1IkvYDH58)
