1dcbe284a6
Throw explicit errors when sharing is disabled or credentials are missing, validate session sync initialization, and check HTTP responses/public_id before persisting the share URL.