-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Describe the bug
A clear and concise description of what the bug is.
When submitting a job description that has an invalid or missing workplace type (e.g. 'N/A' instead of 'Remote', 'On-site', etc.), clicking the Improve button results in a 500 error. This shouldn't crash the app — the field should either be optional or safely default to 'Not Specified'.
If I manually add the workplace type in the job description example from above it works.
To Reproduce
Steps to reproduce the behavior:
-
Add a job description with 'N/A' or a missing work arrangement.
-
Click the Improve button.
-
Observe the 500 error.
Expected behavior
The app should validate or gracefully handle unexpected workplace type values. A missing or invalid value shouldn’t break functionality.
Screenshots
If applicable, add screenshots to help explain your problem.


Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
The input is expected to be one of the following: 'Fully Remote', 'Hybrid', 'On-site', 'Remote', 'Not Specified', or 'Multiple Locations', but 'N/A' is being passed and isn’t supported. The system should sanitize or default this input instead of throwing a 500.
Edit: if I add the full link it works, as the location is found up top of the page.
Metadata
Metadata
Assignees
Labels
Projects
Status