routing-api
routing-api copied to clipboard
Cannot read property 'getTokenByAddress' of undefined
Hi i am getting this error on the Cloudwatch management console. Please help me to resolve it.
{
"name": "quote",
"requestId": "d671c605-6513-471f-a8cc-bdb235999d4e",
"hostname": "169.254.8.89",
"pid": 12,
"quoteId": "d671c",
"tokenInAddress": "0xc778417E063141139Fce010982780140Aa0cD5Ab",
"chainId": 3,
"tokenOutAddress": "0xA3e7390D6Ae19161925Df844Fe0B84cDBc87552B",
"amount": "10000000000000000",
"type": "exactOut",
"level": 50,
"err": {
"message": "Cannot read property 'getTokenByAddress' of undefined",
"name": "TypeError",
"stack": "TypeError: Cannot read property 'getTokenByAddress' of undefined\n at Xp (/lib/handlers/shared.ts:108:37)\n at uk.handleRequest (/lib/handlers/quote/quote.ts:67:30)\n at null.