Skip to content

Typing too strict for GetContactInfoResponseStatisticsUnsubscriptionsUserUnsubscriptionItem::$campaignId #136

@amlbcd

Description

@amlbcd

Hello,

I tried using both the latest v4 tag and the v5 rc and they both have this bug.

To reproduce it, unsubscribe a contact using an unsubscribe form and then try to fetch this same contact details:

$contactInfo = $this->client->getContacts()->getContactInfo(
    $email,
    new GetContactInfoRequest([
        'identifierType' => GetContactInfoRequestIdentifierType::EmailId->value,
    ]),
);

You will get this error :

Image

The property should be nullable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions