CallReverted is a Quoter simulation error type: the contract reverted the transaction during simulation. Inspect the revert reason. This is often an insufficient allowance or a failed require check. Fix the calldata or add a simulated approval, then simulate again.
Definition
When POST /api/v1/simulate returns HTTP 200 and result.status is "Error", result.error describes why the fork execution failed. CallReverted is one of the documented types: CallFailed, CallReverted, DecodeError, and ProviderError.
How it works
Confirm you are looking at
result.erroron a 200 response, not at an HTTP 400 or 500.Read the error type and any details in
result.error.Inspect the revert reason. This is often an insufficient allowance or a failed require check. Fix the calldata or add a simulated approval, then simulate again.
Do not sign or submit a transaction whose latest simulation is
"Error".After a
"Success"result, validate the unsigned transaction before signing.
How Enso does this
Error Handling lists these common simulation failures and the recommended fix for each. Simulate at https://quoter.api.enso.build. If you are instead submitting an Enso Route tx that failed on-chain after a successful Route quote, that is a different path — see the Route troubleshooting articles.
FAQ
Is CallReverted an HTTP status code?
No. It is a simulation error type inside a processed simulate response. The HTTP status in this case is typically 200.
Should I retry immediately?
Retry only after you have changed the transaction, the setup, or the inputs the error is pointing at. A tight retry of the same failing calldata will usually fail again.
Related articles
Why is my Quoter simulation status Error but the HTTP status is 200?
How do I check if a transaction will revert?
What are preSimulationTransactions?
How do I simulate a DeFi transaction before sending it?
What does CallFailed mean in a Quoter simulation?
