Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid account (phone number), make sure you include the country code." #1547

Open
Geremia opened this issue Jun 28, 2024 · 7 comments
Open

Comments

@Geremia
Copy link

Geremia commented Jun 28, 2024

When I try registering with a new number, I get this:

Invalid account (phone number), make sure you include the country code.

signal-cli 0.13.2-SNAPSHOT

@m-ueberall
Copy link

Do you see the same error with the current version (0.13.4)? Also, can you provide a verbose log (by adding "-vv" on the command line)? Without the latter, nobody is able to help you find the possible reason of your problem.

@Geremia
Copy link
Author

Geremia commented Jun 29, 2024

@m-ueberall I get the issue with master, too:

$ signal-cli -a +XXXXXXXXXXX -vv register
2024-06-29T16:42:26.223-0700 [main] DEBUG org.asamk.signal.App - Starting signal-cli 0.13.5-SNAPSHOT
2024-06-29T16:42:26.409-0700 [main] TRACE org.asamk.signal.manager.Manager - Expected exception when checking libsignal-client: Failed to deserialize zkgroup::api::groups::uuid_ciphertext::UuidCiphertext
2024-06-29T16:42:26.409-0700 [main] DEBUG org.asamk.signal.util.IOUtils - XDG_DATA_HOME not set, falling back to home dir
Invalid account (phone number), make sure you include the country code.

(+XXXXXXXXXXX redacted; I used an actual Google VoIP number)

I was also encountering invalid captcha errors when trying to reregister with another number (even before getting the rate-limiting RegistrationRetryException).

@donovanglover
Copy link

Captcha issue sounds like #1491

@Geremia
Copy link
Author

Geremia commented Jul 1, 2024

@donovanglover Indeed. It does.
It seems a signal-cli issues, as I'm able to register on an Android device just fine.

@AsamK
Copy link
Owner

AsamK commented Jul 25, 2024

What do you get when you try to validate your phone number on this page (it's using the same phone number library as Signal):
https://libphonenumber.appspot.com/

@Geremia
Copy link
Author

Geremia commented Jul 26, 2024

@AsamK

Phone Number entered: XXXXXXXXXX

Default Country entered: 01

Language entered: en

An error occurred while parsing the input: Error type: INVALID_COUNTRY_CODE. Missing or invalid default region. 

(phone # redacted; I typed 10 digits.)

@nomansial
Copy link

If your number is already registered with Signal via the mobile app, you don't need to go through the registration process again with Signal-CLI. Instead, you can link Signal-CLI to your existing Signal account.

Here’s how you can link Signal-CLI to your existing Signal account:

  1. Generate a Linking QR Code
    Open Command Prompt and navigate to the Signal-CLI directory:

bash
Copy code
cd path\to\signal-cli
Run the following command to generate a QR code for linking Signal-CLI as a device:

bash
Copy code
signal-cli -u +92325278158 link -n "Signal-CLI"
Replace +92325278158 with your registered phone number. The -n "Signal-CLI" part allows you to name the device you are linking.

This command will output a QR code in the terminal or save it to a file (depending on the terminal capabilities).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants