I have an HTML form where there is a pdf file attachment field() at last, I make a post request with all the field form data
when and select to field android file picker opens
- if I select pdf file from storage - no error - API post successful
- But if I select a file from my google drive from the android file picker - API post fails - net::err_upload_file_changed.
PS: I have managed to show a message to the user if selected from google drive that please select from storage but I don't want that I want to actually be able to post the file with the attachment
file.slice(0,1).arrayBuffer().then(//no problem).catch(//show message)not the cleanest method but it works