Skip to content

User <Number> Is Not Registered on REST API calls . . . but bin commands work #756

@Xopher00

Description

@Xopher00

The problem

$ docker exec -it signal-api signal-cli -a <number> send -m "This is your personal assistant" <receipient>                
$ 1761956806

Messages Goes thru

curl -X POST http://localhost:8003/v2/send -H "Content-Type: application/json" \                                                0:27:14 
  -d '{
        "message":"Hello from API",
        "number":"<number>",
        "recipients":["<receipient>"]
      }'
{"error":"User <number> is not registered.\n"}#     

User reported as not registered

I have spent hours on this and I have gotten nowhere. I do not know where this is coming from. I have tried switchig between native and json-rpc mode. I have tried resetting the contianer and starting from scratch. This does not make sense to me. I cannot integrate this into my project without a functioning rest api.

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

Native Mode

What's the architecture of your host system?

x86-64

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions