I am trying to get the Author of a site using SharePoint REST API. But I am getting author name as a blank.

Below is the REST Url :



enter image description here

Is there anything I am missing ?

Please suggest.


  • Try it as _api/web/author and check ? – Gautam Sheth Nov 8 '17 at 13:48
  • @GautamSheth I tried this as well. But getting response as <m:code>-2146232832, Microsoft.SharePoint.SPException</m:code><m:message xml:lang="en-US">User cannot be found.</m:message> – Rohit Waghela Nov 8 '17 at 13:51
  • I am using SharePoint Online. Is it due to this reason ?? – Rohit Waghela Nov 8 '17 at 13:52
  • 2
    Strangely, it works if its a subsite. In case of site collection(rootweb), i receive the error you mentioned. Doing some more searching :) – Gautam Sheth Nov 8 '17 at 13:57
  • @GautamSheth Yes. you are right. it is working for subsite only. – Rohit Waghela Nov 8 '17 at 13:59

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.