Reputation: 63
i'm trying to query some data from my DB in Azure Mobile Services by HTTP request. when i try something like this:
http://MYAPPLICATION.azure-mobile.net/tables/RoutesTrip?$filter=(route_id%20eq%202)
i get a good response. but when i try to get this:
http://MYAPPLICATION.azure-mobile.net/tables/RoutesTrip?$filter=(route_short_name%20eq%2063)
i get error code 500 : "error=Error: Internal Server Error"
at start i had non ASCII letter in this column so i thought that is the problem but i changed it and it still not working.
this column is varchar(50) and also route_id so i don't think this is the problem.
does anyone know why i get this response?
Upvotes: 0
Views: 659
Reputation: 136216
Try enclosing the value in single quotes:
http://MYAPPLICATION.azure-mobile.net/tables/RoutesTrip?$filter=(route_short_name%20eq%20'63')
Hope this helps.
Upvotes: 1