terra-money / fcd-classic

Terra ETL + RestFul API Server

Home Page:https://fcd.terra.dev/swagger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Querying accounts with no TXs throws a 500 error

muratso opened this issue · comments

Since a new "FCD" is being developed, not sure how much effort you guys want to spend on this but... querying accounts with no TXs in it (newly created accounts) result in the following error

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

Here are a few accounts that you can get this error:

https://fcd.terra.dev/v1/txs?account=terra18jfafdr6uldarmhtt2phqx2qumc7znja952c57&limit=100
https://fcd.terra.dev/v1/txs?account=terra1ynhsjzegav33y5a3094yw0yj68s7ym64s0r2nv&limit=100

These scam tentatives are becoming quite annoying 😆 .
cc: @hanjukim

I am on it thanks