CircleCI returns Error when running a browserstack auto testing

Im getting an error in circleci, when i try to automate the testing in my browser stack

           ^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/browserstack_sdk/__init__.py", line 1717, in bstack1llll111ll_opy_
    bstack11l1l1l11_opy_ = bstack11111llll_opy_(self, runner, quiet=False, capture=True)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/behave/model.py", line 1379, in run
    formatter.result(self)
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/allure_behave/formatter.py", line 43, in result
    self.listener.stop_behave_step(result)
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/allure_behave/listener.py", line 147, in stop_behave_step
    self.logger.stop_step(self.current_step_uuid, stop=now(), status=status, statusDetails=status_details)
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/allure_commons/reporter.py", line 139, in stop_step
    self._update_item(uuid, **kwargs)
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/allure_commons/reporter.py", line 62, in _update_item
    item = self._items[uuid] if uuid else self._items[next(reversed(self._items))]
           ~~~~~~~~~~~^^^^^^
  File "/home/circleci/.pyenv/versions/3.12.5/lib/python3.12/site-packages/allure_commons/reporter.py", line 33, in __getitem__
    return self.thread_context.__getitem__(item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '7051f02d-606d-46b9-94fb-162455cc58b5'

05:20:37 [browserstack_sdk.__init__][INFO] - Handling session close

05:20:38 [browserstack_sdk.__init__][INFO] - All done!

Anyone experience this.

Does it work locally? Can you confirm that you’re using the latest version of all necessary dependencies and Python? Also, are you running the tests concurrently or serially?