Closed (fixed)
Project:
Mailgun
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2020 at 13:08 UTC
Updated:
27 Sep 2020 at 17:34 UTC
Jump to comment: Most recent
Although the list description is not required in the API, the SDK is throwing en exception if the description value is NULL:
InvalidArgumentException: First argument to "Http\Message\MultipartStream\MultipartStreamBuilder::createStream()" must be a string, resource or StreamInterface. in Http\Message\MultipartStream\MultipartStreamBuilder->createStream() (line 332 of /var/www/codebase/vendor/php-http/multipart-stream-builder/src/MultipartStreamBuilder.php).
Just go to the "Mailing Lists" settings page and try to add a new list without description.
To make it easier for everyone, let's just use list title as a fallback for the description value.
Commit a fix.
Comments
Comment #2
matroskeenCommitted to 8.x-2927836-Mailgun-lists branch.