You have to verify an OTP sent to the phone number you've submitted to Discord. If the phone number is invalid, obsolete, or not in use, then you won't be able to receive the OTP and submit the code to assign the number to your Discord account.