I had the same issue. Turns out strict mode, in React/NextJs , made the session generate twice, which was triggering the validation of set Session Id.