Skip to content

Invalid type: expected ConfigurationItemCategoryEntity::displayColorRgb to be of type integer, instead got value null, which is NULL.. #58

@PeterVoskuilen

Description

@PeterVoskuilen

Get an error when getting ConfigurationItemCategory fro AutoTask

Invalid type: expected Anteris\Autotask\API\ConfigurationItemCategories\ConfigurationItemCategoryEntity::displayColorRgb to be of type integer, instead got value null, which is NULL..

ConfigurationItemCategories does have RGB value in Autotask as seen in image. although it might be blue because thats a default and value is NULL.

image

Second error:
Public properties displayColorRGB not found on Anteris\Autotask\API\ConfigurationItemCategories\ConfigurationItemCategoryEntity

Resolved by changing line 13 in ConfigurationItemCategoryEntity
public int $displayColorRGB;

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoNeeds more information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions