Forum Discussion

ShilpiKapoor's avatar
ShilpiKapoor
New Member
4 years ago

Web.Contents failed to get contents

I have got this error?

 

Data source error: <pii>Web.Contents failed to get contents from 'https://xxxxxxx.sharepoint.com/sites/xxxx/_api/web/getfilebyserverrelativeurl('/xxx/xxx/Shared%20Documents/xxx/project/Production/filename.xlsm')/$value' (429): </pii>. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action.

 

Everytime, I run this query - I am getting some or the other error.

 

So one i want to know how to solve this error. 

 

But i also want the query to refresh and maybe ignore this error and move on. I have too many files and somewhere ot the other there might be an error like some files might be open. 

 

How do i plan to ensure that the query refreshes - even if there are errors. 

1 Reply