-
Notifications
You must be signed in to change notification settings - Fork 23
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
Job definition creation failure due to validation error and show weird error message #281
Comments
Interesting, it looks like we are rendering the error object itself rather than the text? I don't see why this would be the case in #277. I'll investigate this issue further on Monday. |
Thanks David for the investigation. Can we follow the behavior and show the error message in the job creation page? This enable customer to easily fix the issue without requiring entering configuration from scratch. |
I have not been able to reproduce this. I tried to replace
When I submit a request, I always get an error message above the form, without hitting the error boundary. In jupyter-scheduler/src/mainviews/create-job.tsx Lines 333 to 345 in 795e702
|
I can reproduce this in open source code with a custom handler for job definition creation, but not with one for job creation. A similar try/catch block appears in the |
Description
When the job is created using an invalid s3 bucket(e.g. s3 bucket in another different region), the job will be failed due to backend validation. Then the UI show error message like below:
Reproduce
Simply use a s3 bucket in different region.
The text was updated successfully, but these errors were encountered: