Question

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?

Was it helpful?

Solution

Try enclosing the value in single quotes:

http://MYAPPLICATION.azure-mobile.net/tables/RoutesTrip?$filter=(route_short_name%20eq%20'63')

Hope this helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top