Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process_orchestration raises ValidationError of pydantic #33

Open
onurkybsi opened this issue Jan 21, 2022 · 0 comments
Open

process_orchestration raises ValidationError of pydantic #33

onurkybsi opened this issue Jan 21, 2022 · 0 comments

Comments

@onurkybsi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant