terra-money / fcd-classic

Terra ETL + RestFul API Server
https://fcd.terra.dev/swagger
MIT License
63 stars 40 forks source link

API_ERROR : "syntax error at or near \")\"","code":"42601 #157

Closed abdullah-almesbahi closed 2 years ago

abdullah-almesbahi commented 2 years ago

When I create any new wallet. I will not be able to access to this URL https://bombay-fcd.terra.dev/v1/txs?account=terra1cv9n8e5ut4l8ts3wa29wgs2edrcycwn29ytn3a

it shows me this error

{"type":"API_ERROR","message":"syntax error at or near \")\"","code":"42601"}

But if I transfer money to this wallet , then it going to works fine

hanjukim commented 2 years ago

It does not happen in my end.

muratso commented 2 years ago

This error is indeed happening. But it only happens if the queried account has 0 txs in it. Check it out, here's an example https://fcd.terra.dev/v1/txs?account=terra1ynhsjzegav33y5a3094yw0yj68s7ym64s0r2nv&limit=100 cc: @hanjukim