I am trying to use the OData
$expand query option to fetch the Title of a SharePoint User Field. The field name is, Author (Created By). However, on using the
$expand option, I am getting the following error,
The $expand query is not valid for field 'Author'.
Following is the URL that I am using to fetch the data.
Interestingly, if I use the following URL from a SharePoint Content Editor Web Part then everything is working fine!
So, my question is, am I doing something wrong or we cannot use
$expand from within the scope of a SharePoint App? As of now, it works fine directly from the site but not from the add-in.