Skip to content

process_orchestration raises ValidationError of pydantic #33

@onurkybsi

Description

@onurkybsi

Hi, when I try to do orchestration of a service, I get a ValidationError of pydantic. When I debug the code step by step, I realize that authenticationInfo couldn't get from core service Orchestration. It's actually null in the database and this doesn't cause an error in Java client. However when I debug and I even change the provider value orchestration response as authenticationInfo = null, error continue. Finally, I changed the provider value of orchestration response as authenticationInfo = "" and it was fixed. Even provider authenticationInfo is nonrequired, process_orchestration raises error. I'm sharing debugging screenshots.

authenticationInfo is returned from core service Orchestration and there is no exception in Java client
java
authenticationInfo couldn't get from service Orchestration
python
authenticationInfo couldn't get from service Orchestration and error raised from pydantic like below
exception
authenticationInfo couldn't get from service Orchestration and I added it as null but error raised from pydantic like below,
python2

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