You must provide a MailChimp API key Error - Laravel MAilChip API
Nikhil:
I was following your this tutorial: Laravel 5 mailchimp api integration from scratch with example
giving this error
You must provide a MailChimp API key
Hardik Savani:
Thank you contact us Nikhil
You need to follow step 1.
You require to create MailChimp account and get mailchimp key and on .env file:
MAILCHIMP_API_KEY=API-Key-Here
Nikhil:
Hardik,
In the website tutorial mentioned above, you haven't added the command for publishing the vendor. It wasn't until I looked at the GitHub page where you mention:
Step 3: From the command-line run
php artisan vendor:publish --provider="Skovmand\Mailchimp\MailchimpServiceProvider"
This made the difference for me, as there was no access to the mailchimp api key variable in .env
Great work on this package though!!!
- How to Notifications With database Driver in Laravel 11?
- How to Send Email Via Notification in Laravel 11?
- How to Install and Configure Laravel 11 Debugbar?
- How to Like Dislike System in Laravel 11?
- How to Paginate a Model with Relationship in Laravel 11?
- Laravel 11 Upload Files to Amazon S3 Example
- Laravel 11 Send WhatsApp Messages Example
- Laravel 11 Rest API Authentication Using JWT Tutorial