MS Azure - Bad Request 400

前端 未结 2 1755
予麋鹿
予麋鹿 2021-01-26 02:35

I keep getting a bad request error every time I run this line of code:

List accounts = await App.accountTable.Where(account => account.EmailAdd         


        
2条回答
  •  没有蜡笔的小新
    2021-01-26 02:44

    What does your client-side EmailAddress property look like? It is getting lowercased at some point -- do you have any attributes on it in your client model?

    The reason that 'Username' and 'username' both work is because the server allows both upper-and lower-case with the first letter of properties. For example, 'emailAddress' should work.

提交回复
热议问题