I have built a SP-hosted app that uses REST API calls to get data from a list in the Host Web.
The request (from fiddler) is as simple as this:
GET https://apps-9e73cb0dc879a0.*domain*.com/sites/*hostWeb*/*appName*/_api/SP.AppContextSite(@target)/web/lists/getByTitle('tutor_tasks')/Items?$select=assignedToId,assignedFromId&$top=1&$filter=assignedTo%20eq%20%273%27&@target=%27https://*domain*.com/sites/*hostWeb*%27
When Host Web site regional settings are Locale are in English, the requests works as expected. But when I change the Local to Greek or some other languages AND it is an on-Premises SharePoint installation , I get Internal Error 500. Changing back to English and it's OK again.
It always works when the exact same app runs on O365 SharePoint no matter what Regional Settings I use.
The tutor_tasks
list has nothing really special, two User fields and a text field.
Any ideas?