Problem with OData filter on GET #325
-
Previously created the xamarin.forms app and ASP.Net backend using the eBook. Implemented MSAL and B2C auth and then changed to the Azure Mobile Apps for ASP.NET 6. for the backend which is published to an Azure Apps Service. After finally getting B2C auth to work on the API now find that the GET returns an error when an OData filter is included (which was used in the original ASP.Net Framework used for the EntityTable used). Using Postman and an access token I can GET all entities in a table called UserSurvey when I do not include the filter eg GET https://greenlightbackend.azurewebsites.net/tables/UserSurvey, however when using the $filter it errors. The Get used is; The error is; Any ideas? Could the database now be incompatible? I ran add-migration initial and update (with my existing database already created though) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you post the UserSurvey model and controller? |
Beta Was this translation helpful? Give feedback.
Can you post the UserSurvey model and controller?