Skip to content

aiContent->listExternalPages() fails when externalId is null. #401

Description

@jdsdev

aiContent->listExternalPages() exits with the following error if any external pages have a null value for externalId:

Exception 'TypeError' with message 'Cannot assign null to property Intercom\AiContent\Types\ExternalPage::$externalId of type string'

in /var/www/html/cms/vendor/intercom/intercom-php/src/AiContent/Types/ExternalPage.php:128

External pages created through the Intercom UI do not appear to have an externalId.

PHP: 8.4.18
intercom/intercom-php: 5.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions