mailjet / mailjet-apiv3-php

[API v3] Mailjet PHP Wrapper
http://dev.mailjet.com
MIT License
267 stars 86 forks source link

Authentication issue when using SMS API #225

Closed paulchartres closed 3 years ago

paulchartres commented 3 years ago

Hi there,

I've been trying to use the SMS API with my PHP application, but it seems like I'm getting an error because of the NULL parameter that has to be sent when initializing the client:

Argument 2 passed to Mailjet\Client::setAuthentication() must be of the type string, null given

I am using the latest version of the Client on this repository, and I'm using the autoload.php file from the mirror repository.

Pavlico commented 3 years ago

Hi @paulchartres what is your php code that creates Client object? is your second param your secret key string?

Pavlico commented 3 years ago

Looking at code i found some issue that will be fixed with #228

Pavlico commented 3 years ago

@paulchartres can you update module and see if error is still present if no plz also give a heads up

Pavlico commented 3 years ago

No response, closing