Just purchased Profiler and get the following error when trying to upload a file to a user profile. " The User is field is required. "

Here is an overview of the code:

{{ profiler:edit_form files="true" }}
... multiple fields that works...
<div class="input-group">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="inputGroupFileAddon01">Upload</span>
                    </div>
                    <div class="custom-file">
                      <input type="file" class="custom-file-input" id="athlete_main_image" name="athlete_main_image" >
                      <label class="custom-file-label" for="inputGroupFile01">Choose file</label>
                    </div>
                  </div>


              </div>
              <div class="contact-form__row contact-form__row--submit  contact-form__submit-button-right">
                  <div class="contact-form__field" style="color:#000;">
                      <button class="btn btn-elegant">Update</button>
                  </div>
              </div>
{{ /profiler:edit_form }}
Answered by Philippe Pasquin! Go to answer.