0

I have created a SharePoint hosted App for Office 365 and am trying to get list items using SPService call but it is not working.

There is an Access denied of Forbidden 404 error, why?

1 Answer 1

0

Please check if you have given necessary permission in AppManifest.xml file. You need to give "Read" access to List/Web for reading items from host web.

enter image description here

2
  • I have given Full Control in AppManifest.xml file to web but still Access denied problem comes. So what I have to do ? Commented Jan 14, 2016 at 6:31
  • 1
    I just noticed you are using SPServices (my bad, sorry). I am not sure if SPServices has a provision to make cross domain calls. Can you try using JSOM or REST and check if that way works? I am assuming list is in host web. Find code snippet here mavention.com/blog/sharePoint-app-reading-data-from-host-web
    – Garima
    Commented Jan 14, 2016 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.