SharePoint- Metadata updation Issue using Upload file Activity

Hi,
I’m facing issues in updating metadata along with a file in a particular SharePoint. Yesterday it worked as expected. But I’m getting error as below.

Error: Upload File to Archive: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)

Do we have any solution to resolve this issue.

Thanks,
Ukesh Kumar D

Hi @Ukesh_Kumar_Dillibabu

Could you please share a screenshot or more details about your activity configuration?
Was it Studio Desktop or Studio Web? What are the versions of the activity packages in your project?

Hi,

I’m unable to upload the image.
Let me explain the step I’ve done.
Built a datatable mentioning two columns “Name”(String), “Value”(Object)
There are 5 fields which are required to be updated in Metadata
then Uploading the file along with Metadata using Upload file activity.

The package version which I’m using is UiPath.MicrosoftOffice365.Activities = 2.4.3

THanks,
Ukesh Kumar D

Thanks,
Ukesh Kumar D

@loginerror - Please find my response above

Hi,

The file is getting uploaded into the respective SharePoint Folder without metadata values. Even the activity throws error as mentioned above.

Thanks,
Ukesh Kumar D

Hi @Ukesh_Kumar_Dillibabu,

Could you please check again with the latest version of the MicrosoftOffice365 package?

Version 2.4.3 was released in 2023, which is a significant gap from version 3.4.10 that contains many fixes. It could be as simple as that, so I’d like to rule it out first. :slight_smile:

Hi @loginerror

I’ve tried with version 3.4.10 and still facing the same.

Hi,

It worked after updating a particular field in metadata which was in DD/MM/YYYY In actual SharePoint it shows date as DD/MM/YYYY. I’ve modified the field as MM/DD/YYYY in the flow and it worked. Though we push the metadata as MM/DD/YYYY, It reflected in SharePoint as DD/MM/YYYY format.

Thanks,
Ukesh Kumar D

1 Like

Thank you for the follow-up :slight_smile:

Just so that we’re sure we don’t miss any important feedback here:

I did not fully understand which activity caused this issue for you:

Error: Upload File to Archive: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)

The Upload Files activity?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.