Double quotes are not permitted in samplingfeaturecodes and are automatically rejected by the database. However the backend code does not handle this well and returns a generic 500 error to the user. Ideally it would return a more usefully error code like 422, or even more ideally we use frontend validation to stop them from submitting the form.