Attempting to follow ExpressRoute Classic REST API documentation (https://msdn.microsoft.com/en-us/library/azure/dn606299.aspx) to list dedicated circuits. I have tried a vanilla python-request based client as well as the client from the https://github.com/Azure/azure-sdk-for-python/tree/master/azure-servicemanagement-legacy python library. Management cert was used for authentication. All requests fail with an "Internal Error". Example request is provided below.
Request URL:
https://management.core.windows.net/<subsciption-id>/services/networking/dedicatedcircuits?api-version=2014-10-01
Request Headers:
{"x-ms-version": "2014-10-01","User-Agent": "pyazure/0.20.5","Connection": "keep-alive","Accept": "*/*","Accept-Encoding": "gzip, deflate" }
Response:
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>InternalError</Code><Message>The server encountered an internal error. Please retry the request.</Message></Error>
Response Headers:
{"Content-Length": "229","x-ms-servedbyregion": "ussouth3","x-ms-request-id": "b138742b8bb939189e4530b65d1fbe61","Server": "1.0.6198.455 (rd_rdfe_stable.161115-1030) Microsoft-HTTPAPI/2.0","Cache-Control": "no-cache","Date": "Wed, 30 Nov 2016 02:29:19 GMT","Content-Type": "application/xml; charset=utf-8" }
Any help on whats going on here would be appreciated. Is this a client request issue, ie. are we missing something trivial here? How do we go about debugging these sort of issues? Are there logs accessible in portal?