Problems with Rest API Post request to upload files to Google Drive

Hey @Gudrun_Stella_Agustsdottir based on that error, the endpoint is likely not expecting the entire file object that you are sending. Can you try only sending the data like described in this post?

ie: only sending fileInput.value[0]