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

BUG: extra fields not permitted (type=value_error.extra) #287

Open
rtpro opened this issue Mar 29, 2024 · 0 comments
Open

BUG: extra fields not permitted (type=value_error.extra) #287

rtpro opened this issue Mar 29, 2024 · 0 comments

Comments

@rtpro
Copy link
Contributor

rtpro commented Mar 29, 2024

task-executor-1  | Traceback (most recent call last):
task-executor-1  |   File "/home/app/hub/services/procrastinate/tasks/application/health_check.py", line 27, in check_applications_health
task-executor-1  |     condition = await application_manager.get_application_health_condition(application)
task-executor-1  |   File "/home/app/hub/managers/applications.py", line 294, in get_application_health_condition
task-executor-1  |     details = {}
task-executor-1  |   File "/home/app/hub/utils/template.py", line 132, in load_template
task-executor-1  |     return validate_template(parsed_template_data)
task-executor-1  |   File "/home/app/hub/utils/template.py", line 119, in validate_template
task-executor-1  |     raise InvalidTemplateException(f'Template is invalid.\n{display_errors(error.errors())}')
task-executor-1  | exceptions.templates.InvalidTemplateException: Template is invalid.
task-executor-1  | components -> 0 -> type
task-executor-1  |   value is not a valid enumeration member; permitted: 'helm_chart' (type=type_error.enum; enum_values=[<ComponentTypes.helm_chart: 'helm_chart'>])
task-executor-1  | components -> 0 -> chart
task-executor-1  |   field required (type=value_error.missing)
task-executor-1  | components -> 0 -> create
task-executor-1  |   extra fields not permitted (type=value_error.extra)
task-executor-1  | components -> 0 -> delete
task-executor-1  |   extra fields not permitted (type=value_error.extra)
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

When branches are created from issues, their pull requests are automatically linked.

1 participant