Getting this error when i am applying select query

Dear all
I want to do pagination through druid with select query am getting some error please help me out error when i executes select.json file on my local machine is"error":“instantiation of [simple type, class io.druid.sql.http.sqlquery] value failed: query” about error, i want to know how can i fix it.

You are probably trying to sent a native Druid JSON query to the /druid/v2/sql/ endpoint. Try /druid/v2/ instead (or use a SQL query).