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 ? Commented Nov 8, 2017 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> Commented Nov 8, 2017 at 13:51
  • I am using SharePoint Online. Is it due to this reason ?? Commented Nov 8, 2017 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 :) Commented Nov 8, 2017 at 13:57
  • @GautamSheth Yes. you are right. it is working for subsite only. Commented Nov 8, 2017 at 13:59


Your Answer

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