locked
error 502 after sending address with / RRS feed

  • Question

  • When I try to encode address with "/" geocoding API returns 502 error.

    Sample call to API:

    https://atlas.microsoft.com/search/address/json?api-version=1.0&subscription-key=my_key&query=111+1%2f2+W+3ST+ST%2c+ABERDEEN%2c+WA+98520

    It is working when I remove %2f.

    Is it a bug in service or the query is incorrectly escaped?

    Thanks

    Friday, January 26, 2018 4:54 PM

Answers

  • It looks like the problem is fixed now by Microsoft.

    Thanks.

    • Marked as answer by Piotr Palka Wednesday, June 13, 2018 5:24 PM
    Wednesday, June 13, 2018 5:24 PM

All replies

  • Hello Piotr,

    The parameter of query need to be applicable string and/or coordinates. But there is no detailed introduction about what string is applicable, and there is no description about error 502.I have post an issue(#1) about this problem on GitHub.

    Best Regards,

    Michael



    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, January 31, 2018 3:22 AM
  • We're look forward to get detail information about query URL string definition. Like traceRoute.html shows: 
    truckRouteUrl += "&travelMode=truck";
    truckRouteUrl += "&vehicleWidth=2";
    truckRouteUrl += "&vehicleHeight=2";
    truckRouteUrl += "&vehicleLength=5";

    Hao Hu

    Friday, February 2, 2018 8:57 AM
  • Wow I just found it here:

    https://docs.microsoft.com/zh-cn/rest/api/location-based-services/route/getroutedirections 

    So please ignore this post thanks.


    Hao Hu

    Friday, February 2, 2018 9:02 AM
  • I found something here: 

    https://developer.tomtom.com/online-search/online-search-documentation-search/fuzzy-search

    query string must be URL coding. %2f is '/'. I guess it is not be accepted in query string cause it may be break the whole URL.


    Hao Hu

    Friday, February 2, 2018 9:29 AM
  • Hi Piotr,

    We have reporting this internally and are currently investigating this issue. I will update here once this issue gets resolved.

    Thanks,

    Jie


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 9, 2018 5:12 AM
  • Are you still seeing this issue?

    [<a href="http://rbrundritt.wordpress.com">Blog</a>] [<a href="https://twitter.com/rbrundritt">twitter</a>] [<a href="https://www.linkedin.com/in/rbrundritt">LinkedIn</a>]

    Wednesday, June 13, 2018 5:18 PM
  • It looks like the problem is fixed now by Microsoft.

    Thanks.

    • Marked as answer by Piotr Palka Wednesday, June 13, 2018 5:24 PM
    Wednesday, June 13, 2018 5:24 PM
  • Working now, thank you.
    Wednesday, June 13, 2018 5:25 PM