If you are sure you entered the right User ID received from your friend and you still can’t add as buddy, please ask your friend to turn on Add by User ID setting from:
1. My tab > Accounts > User Privacy.
2. Enable Add by User ID setting.
Once your friend enables this feature, you can try to add your friend as a buddy by user ID again.