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

Confusing error message displayed during cadence generation error #492

Open
talister opened this issue Oct 5, 2020 · 0 comments
Open

Confusing error message displayed during cadence generation error #492

talister opened this issue Oct 5, 2020 · 0 comments
Labels
bug intermittent Bugs which only happen sometimes, often with external services

Comments

@talister
Copy link
Member

talister commented Oct 5, 2020

Trying to submit a cadence for C/2020 O2 from 2020-10-05 21:00->2020-11-01 00:00 with period=72, jitter=24 hours resulted in

It was not possible to submit your request to the scheduler. Additional information: requests: This field is required. name: This field is required. observation_type: This field is required. operator: This field is required. ipp_value: This field is required. proposal: This field is required. 

in the NEOx popup box. The actual error from the logs at AWS shows:

[05/Oct/2020 20:58:26] ERROR Cadence generation error
[05/Oct/2020 20:58:26] ERROR {'errors': 'No visible requests within cadence window parameters'}
[05/Oct/2020 20:58:26] ERROR {'requests': ['This field is required.'], 'name': ['This field is required.'], 'observation_type': ['This field is required.'], 'operator': ['This field is required.'], 'ipp_value': ['This field is required.'], 'proposal': ['This field is required.']}
[05/Oct/2020 20:58:26] ERROR {'requests': ['This field is required.'], 'name': ['This field is required.'], 'observation_type': ['This field is required.'], 'operator': ['This field is required.'], 'ipp_value': ['This field is required.'], 'proposal': ['This field is required.']}

We should probably prioritize reporting the 'errors' key before the 'requests' one

@talister talister added bug intermittent Bugs which only happen sometimes, often with external services labels Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug intermittent Bugs which only happen sometimes, often with external services
Projects
None yet
Development

No branches or pull requests

1 participant