This is ofcourse a question not an idea. I need to create a PowerApp for a document library. I got the data source connected but when I am trying to submit the form using SubmitForm(Form1), it is throwing error "There was a problem saving your changes. The data source may be invalid."
Attached are the issue images. Can someone please help me what is causing this issue particularly for a Document Library.