depyronick / clickhouse-client

ClickHouse Client for NodeJS
https://clickhouse.js.org
MIT License
49 stars 11 forks source link

No errors for inserts #17

Closed maxpain closed 2 years ago

maxpain commented 2 years ago

Hello. How to get error from ClickHouse during INSERT?

Error: Request failed with status code 400

depyronick commented 2 years ago

What have you tried so far?

KeHuangT commented 2 years ago

I have the same problem

depyronick commented 2 years ago

@maxpain @KeHuangT

Can you please share the code on how you are trying to catch errors?

ApurvGpt commented 2 years ago

I also faced this issue. I was trying to insert an ISO format date in a DateTime column. There was a generic axios error - 'Error: Request failed with status code 400' . It took me a while to figure out the real error.

depyronick commented 2 years ago

@ApurvGpt @maxpain @KeHuangT

should be fixed