Skip to content

Type mismatch on field port returned by LoggingSyslogApi.list_log_syslog() #111

@pkern

Description

@pkern

Version

12.0.0

What happened

When calling logging_syslog_api.list_log_syslog('Sw0VSZJydSib4Ojm5dH5v0', 17) the response is parsed incorrectly with a type mismatch:

fastly.exceptions.ApiValueError: Invalid inputs given to generate an instance of 'LoggingAddressAndPort'. The input data was invalid for the allOf schema 'LoggingAddressAndPort' in the composed schema 'LoggingSyslogResponse'. Error=Invalid type for variable 'port'. Required value type is int and passed type was str at ['received_data'][0]['port']

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