Lately I’ve been trying to recreate my service’s reserve because I’ve switched devices, but when I tried to run the command “zrok reserve public 5000 --unique-name onixsb”, it responded with “[ERROR]: unable to create share (unable to create share: [POST /share][500] shareInternalServerError)”. I could reserve a different unique name just fine, and I won’t get error 500! It’s just this one that doesn’t want to reserve and throws this error. If that unique name was already taken, then it would’ve responded with error 401 or error 409. Please help!
Not 100% sure what’s going on here, but if the name onixsb is already attached to a different environment, you’re going to get an error. It probably should not be a 500… it should probably be something different, but I would expect that to be the case.
In zrok v1 reserved share tokens are necessarily connected to a specific zrok environment (where you did a zrok enable). To move a share to a different environment you have to delete the share and recreate it in the new environment (zrok release, first, then zrok reserve in the new environment).