Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns.RecordSetsClient has unsupported 2016-04-01 api-version #935

Closed
kopiczko opened this issue Dec 31, 2017 · 9 comments
Closed

dns.RecordSetsClient has unsupported 2016-04-01 api-version #935

kopiczko opened this issue Dec 31, 2017 · 9 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Network

Comments

@kopiczko
Copy link

I encounter following error:

dns.RecordSetsClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidApiVersionParameter" Message="The api-version '2016-04-01' is invalid. The supported versions are '2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."

It was working a few weeks ago. I run it in west europe region.

@kopiczko
Copy link
Author

kopiczko commented Jan 2, 2018

I also tried "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2017-09-01/dns", but version 2017-09-01 is also unsupported.

dns.RecordSetsClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidApiVersionParameter" Message="The api-version '2017-09-01' is invalid. The supported versions are '2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."

What happened? Why versions can be dropped like that? Why 2017-* version was dropped when 2013-* versions exist?

@kopiczko
Copy link
Author

kopiczko commented Jan 2, 2018

It started to work out of the sudden. Was it some API outage?

@vladbarosan
Copy link

vladbarosan commented Jan 2, 2018

Hi @kopiczko most likely there was an issue on the service/ARM side since the returned api versions in your error are not even valid DNS API versions.

We will follow up with the service team to see what might has caused this, but please reopen this issue if you encounter this problem again.

@TheoBrigitte
Copy link

Just came across this issue again today
dns.RecordSetsClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidApiVersionParameter" Message="The api-version '2017-09-01' is invalid. The supported versions are '2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."

@vladbarosan vladbarosan reopened this Mar 28, 2018
@vladbarosan
Copy link

vladbarosan commented Mar 28, 2018

@kopiczko , @TheoBrigitte can you provide the following details :

  1. Have you noticed this only in west europe ?
  2. Did you see the issue only for the 2016-04-01 api version of DNS ?
  3. Just for reference, what SDK version are you using ?
  4. Also can you provide as precise as you can the time around when this was happening ?

@TheoBrigitte
Copy link

  1. I do no have a way to easily test this in a different region
  2. api version 2017-09-01 gave the exact same error
  3. currently using SDK version v12.1.0-beta
  4. This keeps happening, I saw the error today again at 18-03-29 13:13:43, 18-03-29 13:34:24, 18-03-29 14:58:41 and 18-03-29 15:03:56 (UTC time)

During the same time, a similar request succeed from a different environment. Something must be wrong on my side regarding dns.RecordSetsClient.Get arguments but also the API response seems does not seems right here.

@TheoBrigitte
Copy link

Ok this was due to passing an empty resourceGroupName argument when calling RecordSetsClient.Get()

@TheoBrigitte
Copy link

@vladbarosan
Copy link

the extra checks are present in v18

@ghost ghost removed the fix-available label Jul 6, 2018
@RickWinter RickWinter added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jul 12, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Network
Projects
None yet
Development

No branches or pull requests

7 participants