getting Error Failed to store position

Prince Rajputa year ago
2023-09-24 14:01:07  INFO: [862a7d36: gt06 < 196.249.97.41] HEX: 78781f121709180e001bc700bb35f60436f55000d13c0280092b0400e5ef02260eb10d0a78781f121709180e0030c800bb32f30436f3c807d12d0280092b0400e5ef0227afd60d0a
2023-09-24 14:01:07  INFO: [862a7d36: gt06 > 196.249.97.41] HEX: 787805120226d5200d0a
2023-09-24 14:01:07  WARN: Failed to store position - The statement must be executed before any results can be obtained. - SQLServerException (... < QueryBuilder:448 < DataManager:439 < DefaultDataHandler:40 < ...)

we are using Traccar 4.15 using out custom MS-SQL database Query to store device data in database..
developers please assist me why we are getting this error.