0

I have a running program that has been working for 6month + on production.

It suddenly doesn't work with returning 403 error, but the request is working for update metadata, and get file. The client id able to generate token, and the token able to get file list and update metadata

[POST] /GetFileByServerRelativePath(decodedurl='/sites/cdms/CMS/artmaker_1655002986104.png')/ListItemAllFields

it doesn't work for this particular end point. [POST] /sites/cdms/_api/web/GetFolderByServerRelativeUrl('CDMS/Trade')/Files/add(url='artmaker_1655002986104.png',overwrite=true)

it returns

<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code>-2147024891, System.UnauthorizedAccessException</m:code> <m:message xml:lang="en-US">Access denied.</m:message> </m:error>

while i do realize that this is an unauthorized response, but i have give every admin, site owner permission for the account that I used.

Is there any changes in this particular API that is documented ? Thanks.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.