Archived Content from Web3Auth Community
This topic was originally posted by githubdiscussions on 8/17/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.
Hello I've been searching for solution for this error. I'm Getting Internal RPC error while interacting with Smart Contract as :-
Error: Internal JSON-RPC error. at getEthJsonRpcError (errors.ts:188:1) at Object.internal (errors.ts:52:1) at provider.sendAsync (INetworkController.ts:125:1) at async provider.request (INetworkController.ts:149:1)
Digging further I Got to know I'm getting provider as Follows :-
Proxy {} [[Handler]]: Object get: (_, name) => {…} set: (_, name, value) => {…} length: 3 name: "set" arguments: [Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:3:28)] caller: [Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:3:28)] [[FunctionLocation]]: createEventEmitterProxy.ts:45 [[Prototype]]: ƒ () [[Scopes]]: Scopes[4] [[Prototype]]: Object [[Target]]: Object [[Prototype]]: Object [[IsRevoked]]: false
arguments and Caller are throwing TypeError. Any Solution will be helpful. Thank you.
Originally posted by: adijdhv
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/419