In my opinion the only way this could have happened is that the pin was not installed properly.
If the chain was installed by a dealer it should be recounted with a new set of links and pins with no expense to you.
New links and special joining pins should be used per Shimano specifications.