Server response: "UUID string too large"

There might be some peculiarity of the specific Jupyter Lab’s settings. What is clear, though, is that the Python is sending requests with one additional charachter at the end of the instance ID, as @monja.sebela mentioned.
I suggest to try to tweak the configuration until you don’t see “f81124c951d6?” in the erro logs.