This is the first time NASA has encountered a situation like this, and it took nearly a week to resolve.