what do i do when my apple id is rejected

i am activating my iphone 5s and i need to type in my apple id and password .When i type it in, it tells me that the apple id cannot be used to unlock the iphone
Is the device brand new or did it have a previous user?

If it had a previous user, did that user remove the device from their iCloud account?

Original thread: https://forums.imore.com/threads/what-do-i-do-when-my-apple-id-is-rejected.345508/