I changed it to set the 'id' to unknown be default so that the user at least get some information. I don't want to go in a failure state, because the at this point the actual sharing was successfully, only getItemShared() might be broken for some reasons.