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

Error for malformed servicex.yaml file is not very informative #563

Open
gordonwatts opened this issue Feb 4, 2025 · 0 comments
Open

Error for malformed servicex.yaml file is not very informative #563

gordonwatts opened this issue Feb 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@gordonwatts
Copy link
Collaborator

If you have a validation error in a servicex.yaml file, you get a huge stack dump with ends with:

ValidationError: 1 validation error for Configuration
  Input should be a valid dictionary or instance of Configuration [type=model_type, input_value=[{'junk': 'this'}], input_type=list]
    For further information visit https://errors.pydantic.dev/2.10/v/model_type

which is not helpful to point you to what file, etc., generated the error.

@gordonwatts gordonwatts added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant