Troubleshooting - Relay
Failed Fill Transactions
If the fill transaction fails you may get some useful data returned from the requests api:
You can use these values to simulate the transaction in Tenderly or similar tools to see the exact error message and revert reason.
Step 1: Get the failed data
You can also access this data by going to the Relay transaction page and using the Ctrl + i shortcut to open up the full request data.
curl -X GET "https://api.relay.link/requests/v2?id=0x27714ec23ddd6466f383c77368692f948d7c52d320de03b371d0f310437bcb2a"
{
"failedTxBlockNumber": 43159746,
"failedCallData": {
"from": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF",
"to": "0xBBbfD134E9b44BfB5123898BA36b01dE7ab93d98",
"data": "0x33739082000000000000000000000000f70da97812cb96acdf810712aa562db8dfa3dbef00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000180000000000000000000000000b5640ba93c22d35101eb45094afa735b0a38eeb9000000000000000000000000b5640ba93c22d35101eb45094afa735b0a38eeb90000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000520f6fae9d000000000000000000000000000000000000000000000000000000000069189f7900000000000000000000000000000000000000000000000000000000000000010000000000000000000000002a22f9c3b484c3629090feed35f17ff8f88f76f0000000000000000000000000000000000000000000000000000000002439410e00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000027600000000000000000000000002a22f9c3b484c3629090feed35f17ff8f88f76f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000006352a56caadc4f1e25cd6c75970fa768a3304e64000000000000000000000000000000000000000000000000000000002439410e000000000000000000000000000000000000000000000000000000000000000000000000000000006352a56caadc4f1e25cd6c75970fa768a3304e64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000254490411a320000000000000000000000008d2b7e5501eb6d92f8e349f2febe785dd070be74000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000002a22f9c3b484c3629090feed35f17ff8f88f76f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008d2b7e5501eb6d92f8e349f2febe785dd070be74000000000000000000000000f5042e6ffac5a625d4e7848e0b01373d8eb9e222000000000000000000000000000000000000000000000000000000002439410e000000000000000000000000000000000000000000000020dcc82702adb1d2ba00000000000000000000000000000000000000000000002102cf7c6f36006ac30000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f70da97812cb96acdf810712aa562db8dfa3dbef00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000f80000000000000000000000000000000000000000000000000000000000000152000000000000000000000000000000000000000000000000000000000000019800000000000000000000000000000000000000000000000000000000000001dc00000000000000000000000000000000000000000000000000000000000001fe0000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064eb5625d9000000000000000000000000ddafbb505ad214d7b80b1f830fccc89b60fb7a830000000000000000000000007f90122bf0700f9e7e1f688fe926940e8839f3530000000000000000000000000000000000000000000000000000000021b9664a000000000000000000000000000000000000000000000000000000000000000000000000000000007f90122bf0700f9e7e1f688fe926940e8839f35300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000843df02124000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021b9664a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
}
Step 2: Simulate the transaction in Tenderly
Open up your Tenderly dashboard, click simulator and then new simulation. Then paste in the required datapoints from the values above.
You should then see the simulation rendered in Tenderly with an in depth error message and where the revert happened.