When working with Starknet, understanding its API error codes is essential for effective troubleshooting and smooth application operation.
1Failed to receive transactionRPC
Sequencer rejected the transaction during validation. Verify transaction format and required fields
10No trace availableRPC
Trace data not available for the transaction. Verify the transaction hash is correct and exists on the network
20Contract not foundRPC
The specified contract address does not exist on the network
21Invalid message selectorRPC
Function selector does not exist in the contract ABI
22Invalid call dataRPC
Calldata is malformed or contains invalid parameters. Verify parameter types and encoding
24Block not foundRPC
The requested block does not exist. Check block number/hash or wait for sync
26Invalid block hashRPC
Block hash format is invalid. Ensure it's a valid hexadecimal string with correct length
27Invalid transaction indexRPC
Transaction index is out of range for this block
28Class hash not foundRPC
The specified class hash has not been declared on the network
29Transaction hash not foundRPC
No transaction found with the provided hash
31Page size too bigRPC
Page size exceeds the maximum allowed limit.
32No blocksRPC
No blocks available in the specified range
33Invalid continuation tokenRPC
The continuation token is invalid or has expired
34Too many keys in filterRPC
Filter contains more keys than the maximum allowed
40Contract errorRPC
An error occurred during contract execution
41Transaction execution errorRPC
Transaction failed to execute. Check contract logic and resource limits
51Class already declaredRPC
Class already exists on the network. Duplicate declarations are not allowed
52Invalid transaction nonceRPC
Invalid nonce for the account. Use the correct sequential nonce value
53Insufficient max feeRPC
Max fee too low. Increase the fee to cover transaction costs
54Insufficient account balanceRPC
Account balance too low. Ensure sufficient funds to cover the transaction fee
55Validation failureRPC
Account validation failed. Check your signature and account contract logic
56Compilation failedRPC
Contract compilation failed. Fix Cairo code syntax and compilation errors
57Contract class size is too largeRPC
Contract class too large. Reduce the contract size to fit within network limits
58Non accountRPC
Sender is not an account contract. Only account contracts can send transactions
59Duplicate transactionRPC
Transaction already exists in mempool. Avoid submitting duplicate transactions
60Compiled class hash mismatchRPC
The compiled class hash does not match the declared hash
61Unsupported transaction versionRPC
Transaction version not supported. Use a compatible transaction version
62Unsupported contract class versionRPC
Contract class version not supported. Use a compatible Cairo compiler version
63Unexpected errorRPC
Unexpected server error occurred. Submit a ticket if the issue persists
-32007Per-second request limit reachedQuicknode
You have exceeded your plan's per-second request limit. Reduce the number of calls per second or upgrade your plan at https://dashboard.quicknode.com/billing/plan.
-32008Per-minute request limit reachedQuicknode
You have exceeded your plan's per-minute request limit. Reduce the number of calls per minute or upgrade your plan at https://dashboard.quicknode.com/billing/plan.
-32011Method rate limit reachedQuicknode
You have exceeded a method-specific rate limit configured for the endpoint. Reduce calls to the method or adjust the method rate-limit rule.
-32604Unsupported request methodQuicknode
The request method is empty, missing, or unsupported. Provide a supported JSON-RPC method name.
-32611Request rejected by filter settingsQuicknode
The request was rejected by an endpoint security filter, such as a method allowlist or blocklist. Review the endpoint's request filter settings.
Quicknode 문제 진단을 돕기 위해 RPC 엔드포인트에 대한 로그를 Quicknode . 다음 경로로 이동하여 Quicknode 직접 로그를 확인할 수 있습니다:
사이드바의 엔드포인트
endpoint 선택
'로그' 탭 열기
시간 범위, 응답 유형, 메서드 및 네트워크별로 로그를 필터링할 수 있습니다.
어떤 내용이 기록되는가
Endpoint 해당 endpoint로 전송된 요청으로, HTTP 상태, 요청 메서드, RPC 메서드 또는 경로, 타임스탬프 등이 포함됩니다.
오류 세부 정보 가능한 경우, 실패한 요청에는 RPC 오류 코드, 요청 및 응답 본문, 관련 문서 링크와 같은 오류 세부 정보가 포함됩니다.
벌목 제한 사항
로그 가용성은 메서드, 응답 유형, 네트워크 및 요금제에 따라 달라질 수 있습니다. 최적의 endpoint 유지하기 위해 로깅은 ‘최선 노력(best-effort)’ 방식으로 운영됩니다. 낮은 지연 시간을 유지하기 위해 트래픽이 많은 시간대에는 일부 로그가 누락될 수 있습니다.
보존 및 접근
Build 및 Scale 요금제에는 표준 로그 보존 기간이 적용된 대시보드 이용 권한이 포함됩니다. Enterprise 요금제는 더 긴 로그 보존 기간과 로그 조회를 위한 프로그래매틱 API 접근 권한을 제공합니다.
다른 오류 코드가 표시되는 경우, 지원 티켓을 제출하여 알려 주시기 바랍니다. 기꺼이 도와드리겠습니다.