How do you parse json rpc errors on frontend?

inpage.js:1 MetaMask - RPC Error: Internal JSON-RPC error.
Object
code
:
-32603
data
:
{code: 3, data: ‘0x08c379a00000000000000000000000000000000000000000…0526571756573740000000000000000000000000000000000’, message: ‘execution reverted: No such Request’}
message
:
“Internal JSON-RPC error.”
[[Prototype]]
:
Object

I am Getting Output in Console But not able to read the information to the frontend. I have been struggling with this for a week. May be, as per my knowledge, the above mentioned error is the main issue, I guess, Please let me know the solution. I also I tried all the solutions from Moralis techies suggestions but am still not able to overcome this error.
Thanks in Advance

Hey @ravi12,

Did you try to change your RPC node in your Metamask? If you’re using a public node, it’s likely not as reliable as a private one. If you need a private node, you can use Moralis node partner https://moralis.io/largenodes as well.

Hope this helps~