Skip to main content

What does ProviderError mean in a Quoter simulation?

ProviderError is a Quoter simulation error type: an RPC provider error occurred during simulation. Retry the simulate request.

J
Written by Javier Diaz

ProviderError is a Quoter simulation error type: an RPC provider error occurred during simulation. Retry the simulate request. This is usually transient, not a problem in your calldata.

Definition

When POST /api/v1/simulate returns HTTP 200 and result.status is "Error", result.error describes why the fork execution failed. ProviderError is one of the documented types: CallFailed, CallReverted, DecodeError, and ProviderError.

How it works

  • Confirm you are looking at result.error on a 200 response, not at an HTTP 400 or 500.

  • Read the error type and any details in result.error.

  • Retry the simulate request. This is usually transient, not a problem in your calldata.

  • 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 ProviderError 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?

Yes, a short retry is the documented fix because this is usually transient.

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 CallReverted mean in a Quoter simulation?

Sources

Did this answer your question?