We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
6.13.2
Unhandled Rejection, waitForTransaction
Ethers throws Unhandled Rejection in waitForTransaction method
Github repo with example: https://github.com/IvanKodak/ethers-unhandled-rejection-example
No response
Unhandled Rejection at: Promise { <rejected> Error: server response 401 Unauthorized (request={ }, response={ }, error=null, info={ "requestUrl": "https://arb-sepolia.nirvanalabs.xyz/devNode-qz736?apikey=43892a79fb674a1ee81caeb05213dab8065a", "responseBody": "{\n\tjsonrpc\": \"2.0\",\n\t\"id\": 1,\n\t\"error\": { \n\t\"code\": 401,\n\t\"message\": Verification failed, node not found\n\t}\n}\n", "responseStatus": "401 Unauthorized" }, code=SERVER_ERROR, version=6.13.2) at makeError (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/errors.ts:694:21) at assert (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/errors.ts:715:25) at FetchResponse.assertOk (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/fetch.ts:950:15) at JsonRpcProvider._send (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1245:18) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async /Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:537:40 { code: 'SERVER_ERROR', request: FetchRequest {}, response: FetchResponse {}, error: undefined, info: { requestUrl: 'https://arb-sepolia.nirvanalabs.xyz/devNode-qz736?apikey=43892a79fb674a1ee81caeb05213dab8065a', responseBody: '{\n' + '\tjsonrpc": "2.0",\n' + '\t"id": 1,\n' + '\t"error": { \n' + '\t"code": 401,\n' + '\t"message": Verification failed, node not found\n' + '\t}\n' + '}\n', responseStatus: '401 Unauthorized' }, shortMessage: 'server response 401 Unauthorized' } } reason: Error: server response 401 Unauthorized (request={ }, response={ }, error=null, info={ "requestUrl": "https://arb-sepolia.nirvanalabs.xyz/devNode-qz736?apikey=43892a79fb674a1ee81caeb05213dab8065a", "responseBody": "{\n\tjsonrpc\": \"2.0\",\n\t\"id\": 1,\n\t\"error\": { \n\t\"code\": 401,\n\t\"message\": Verification failed, node not found\n\t}\n}\n", "responseStatus": "401 Unauthorized" }, code=SERVER_ERROR, version=6.13.2) at makeError (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/errors.ts:694:21) at assert (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/errors.ts:715:25) at FetchResponse.assertOk (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/utils/fetch.ts:950:15) at JsonRpcProvider._send (/Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1245:18) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async /Users/ivankodak/work/ethers-unhandled-rejection-example/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:537:40 { code: 'SERVER_ERROR', request: FetchRequest {}, response: FetchResponse {}, error: undefined, info: { requestUrl: 'https://arb-sepolia.nirvanalabs.xyz/devNode-qz736?apikey=43892a79fb674a1ee81caeb05213dab8065a', responseBody: '{\n' + '\tjsonrpc": "2.0",\n' + '\t"id": 1,\n' + '\t"error": { \n' + '\t"code": 401,\n' + '\t"message": Verification failed, node not found\n' + '\t}\n' + '}\n', responseStatus: '401 Unauthorized' }, shortMessage: 'server response 401 Unauthorized' }
node.js (v12 or newer)
The text was updated successfully, but these errors were encountered:
@ricmoo could you check please?
Sorry, something went wrong.
ricmoo
No branches or pull requests
Ethers Version
6.13.2
Search Terms
Unhandled Rejection, waitForTransaction
Describe the Problem
Ethers throws Unhandled Rejection in waitForTransaction method
Github repo with example:
https://github.com/IvanKodak/ethers-unhandled-rejection-example
Code Snippet
No response
Contract ABI
No response
Errors
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: