bbernhard / signal-cli-rest-api

Dockerized Signal Messenger REST API
https://bbernhard.github.io/signal-cli-rest-api/
MIT License
1.37k stars 159 forks source link

Error 400 when sending message (message is still sent) #586

Closed Joly0 closed 1 month ago

Joly0 commented 2 months ago

The problem

I tried setting up this project alongside with apprise and noticed, that when using apprise to send notifications to my signal number, apprise would always complain about it with error code 400. Also saw this in the signal-cli logs.

When i tried to run the recommended command for testing $ curl -X POST -H "Content-Type: application/json" 'http://localhost:8080/v2/send' \ -d '{"message": "Test via Signal API!", "number": "+4412345", "recipients": [ "+44987654" ]}' i noticed this behaviour aswell. The logs also state error 400

Are you using the latest released version?

Have you read the troubleshooting page?

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

bbernhard commented 2 months ago

This seems to be an upstream issue, see https://github.com/AsamK/signal-cli/issues/1584

Joly0 commented 2 months ago

Ok, good to know. But it seems to ve fixed in upstream already 4 days ago.

bbernhard commented 2 months ago

yes, but there is no release yet.

bbernhard commented 1 month ago

Please give this version a try: bbernhard/signal-cli-rest-api:0.168-dev

Joly0 commented 1 month ago

Yep, works correctly with this version

bbernhard commented 1 month ago

Should be fixed with the latest release.