mailjet/mailjet-apiv3-php

Authentication issue when using SMS API

paulchartres opened this issue · 4 comments

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.

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

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

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

No response, closing