Skip to content

Update errors.mdx #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/onchainkit/paymaster/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Below are a list of common error codes returned by the Paymaster.
| :------------------- | :----- | :-------------------------------------------------------------------------------------------------------------------------------- |
| INTERNAL_ERROR | -32000 | Internal error. Something is wrong with our service. Please contact support if this persists. |
| UNAUTHORIZED_ERROR | -32001 | Unauthorized. Check if your API key and RPC URL are valid. |
| DENIED_ERROR | -32001 | Request denied. This may be due to the gas policy you configured in the Paymaster page. Check the values in your gas policy. |
| DENIED_ERROR | -32002 | Request denied. This may be due to the gas policy you configured in the Paymaster page. Check the values in your gas policy. |
| UNAVAILABLE_ERROR | -32003 | Service unavailable. Please contact support if this persists. |
| GAS_ESTIMATION_ERROR | -32004 | An error occurred during eth_estimateUserOperation. This is typically due to insufficient gas, or an invalid paymaster signature. |
| METHOD_NOT_FOUND | -32601 | Method not found. Check if Paymaster is enabled on your RPC URL, and if you're sending the correct JSON-RPC method. |
Expand Down Expand Up @@ -96,4 +96,4 @@ Request Logs for UserOps can be downloaded under the Logs tab on the Paymaster p

import PolicyBanner from "/snippets/PolicyBanner.mdx";

<PolicyBanner />
<PolicyBanner />