Get List Items Activity throwing Error


Did anyone faced similar issue in Get List Items activity

@rizvana.mohammed

It’s the result of mis configuration of the scope activity.

Check all the properties have the values correctly assigned and not interchanged.

More details in this KB article

https://uipath.my.salesforce-sites.com/CaseView/articles/en_US/Knowledge/Code-generalException-Microsoft-Office-365

Hi @rizvana.mohammed

adding to what Ashok said, in my experience this error on Get List Items almost always comes from one of three things

first, the Site Address in the scope needs the full site url, not the list url, so something like https://yourtenant.sharepoint.com/sites/YourSite and nothing after that.. If you paste the list url by mistake it throws exactly this kind of error

second, List Name has to match the internal name, not the display name you see in the browser. If someone renamed the list after creation those two are different and the activity fails to find it

third, if you are using a Filter Query, the syntax there is CAML, not plain SQL like, a wrong field internal name in the filter breaks silently with a generic error

if you can share the error text itself, not just the screenshot, its easier to pin down wich of the three it is. hope this helps :slight_smile: