I try to upload file into sharepoint document library with metadata , but it has error
Upload File: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)
how i find the root cause or how can i fix it ?
ps. program upload complete if i remove metadata.