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

send sms errors #1

Open
balbesina opened this issue Dec 17, 2019 · 0 comments
Open

send sms errors #1

balbesina opened this issue Dec 17, 2019 · 0 comments

Comments

@balbesina
Copy link

Smspartner has incorrect documentation for errors.
Each time I receive the error it is not inside body['error'], but in the body['message'].

#<Smspartner::Response:0x0000557ce58baaf8 @success=false, @errors=nil, @code=10, 
@message_id=nil, @raw_data={"success"=>false, "code"=>10, "message"=>"Clef API incorrecte"}>
#<Smspartner::Response:0x0000557ce59416c0 @success=false, @errors=nil, @code=44, 
@message_id=nil, @raw_data={"success"=>false, "code"=>44, 
"message"=>"L'emetteur (ModuloTech123123) n'est pas valide. Il ne doit pas contenir de caractères spéciaux"}>
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

1 participant