No relayer responded or accepted the transaction out of the 1 queried: canRelay check failed with error 11

Error: No relayer responded or accepted the transaction out of the 1 queried: Error sending transaction via relayer 0x2bd5ad3f1bd8c96463ea834f110251fd1d5fc560: canRelay check failed with error 11

Our GSN implementation is currently returning the following error from the Open Zeppelin Relayers on Rinkeby and Ropsten. Using a local and relayer on ganache we receive no error. Our contracts have not changed on either test net. Is everything okay with the relayer, can anyone shed anymore info on what this error code means?

Thanks,

Joe

1 Like

Hi @joeandrews

I can reproduce the error on Rinkeby by returning _rejectRelayedCall(0); from acceptRelayedCall

_rejectRelayedCall with an error code of zero added to RELAYED_CALL_REJECTED = 11 gives an error of 11

I suspect that the logic in the acceptRelayedCall of your contract is returning _rejectRelayedCall(0);.

An example of this is in GSNRecipientERC20Fee when the token balance isn’t sufficient to cover the charges:

I suggest checking the logic in the contracts acceptRelayedCall function.
Feel free to share the contract if you can.

Thank you very much that was it. Everything is fixed now.

1 Like

Hi @joeandrews,

If you have a moment it would be great to introduce yourself or share what you are working on with the community.