Forum Discussion
SiennaD
Mar 08, 2019Copper Contributor
Can't get status of check out type.
I want to find the checkout status of a file on Sharepoint called "q.docx" stored under "Testing/Test Output" in the Documents folder and for the life of me I can't get it to work. I constantly get the error:
"Access denied. You do not have permission to perform this action or access this resource."
The app I'm calling it from is registered and working for all other REST calls. This is the call I am making:
https://MyCompany.sharepoint.com/sites/MyClient/_api/web
/GetFileByServerRelativeUrl('/sites/MyClient/Shared%20Documents
/Testing/Test%20Output/q.docx')/checkOutType
Can anyone please tell me why this wouldn't work?
- SiennaDCopper Contributor
Do not ask me why but it's working now and I haven't changed it........go figure!!