terra-money / fcd-classic

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

Querying accounts with no TXs throws a 500 error #169

Closed muratso closed 2 years ago

muratso commented 2 years ago

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

muratso commented 2 years ago

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

hanjukim commented 2 years ago

I am on it thanks