The requested version \”x.x\” of the resource is under preview | Azure DevOps Error

Full Error
The requested version \”x.x1\” of the resource is under preview. The -preview flag must be supplied in the api-version for such requests. For example: \”x.x-preview\””

Sample error
“message”: “The requested version \”5.1\” of the resource is under preview. The -preview flag must be supplied in the api-version for such requests. For example: \”5.1-preview\””,

Solution:
Some API’s are exposed only for preview version and they are not exposed for the final version of API call, so you need to pass preview tag along with the API version

You may also like...

8 Responses

  1. December 14, 2020

    … [Trackback]

    […] Here you will find 25419 more Information on that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  2. December 25, 2020

    … [Trackback]

    […] Info to that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  3. December 31, 2020

    … [Trackback]

    […] Find More here to that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  4. December 31, 2020

    … [Trackback]

    […] Read More here on that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  5. January 5, 2021

    … [Trackback]

    […] Information on that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  6. January 5, 2021

    … [Trackback]

    […] Read More Information here on that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  7. January 6, 2021

    … [Trackback]

    […] Read More here to that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]

  8. January 12, 2021

    … [Trackback]

    […] Info to that Topic: azuredevopsguide.com/the-requested-version-x-x-of-the-resource-is-under-preview-azure-devops-error/ […]