basix ajax error handler