Discussion de forum

Avatar de mc0190
mc0190
Nouveau Membre
24-07-2018
Résolu

Envoi de SMS impossible depuis le Luxembourg

Bonjour, J'essaie d'envoyer des SMS depuis la Zone Europe (en l'occurence depuis le Luxembourg) et ça ne marche pas. J'ai l'erreur 21.   J'ai vérifier et les APN sont configurés correctement. De mê...
  • Avatar de mc0190
    mc0190
    24-07-2018

    Résolu : le contact que je prenais n'avais pas le numéro de télphone correctement formatté.

     

    En détail : l'erreur 21 = numéro de destination mal formé. 

     

    CF : https://android.stackexchange.com/questions/133853/what-does-cant-send-message-on-card-1-error-21-mean

     

    Most likely the destination phone number is formatted wrong, which can happen particularly when importing contacts via third-party tool.

    In this particular case, I used My Contacts Backup for iOS to export my contacts to VCF, then imported from Gmail. In the process, some numbers were wrongly formatted as +61 0 4xx when they should be just +61 4xx, causing the highly uninformative error message above. (The 21 error code actually comes from the operator's network, and has nothing to do with Android as such.) Removing the extra 0 solved the problem.