Random NoRegisteredProviderFound error

Igor Evgrafov 1 Reputation point
2021-10-22T11:46:49.513+00:00

We are facing random "azure.core.exceptions.HttpResponseError: (NoRegisteredProviderFound) No registered resource provider found for location '<location>' and API version '<version>' for type '<type>'. The supported api-versions are ..."

For example we had issue with requesting Flexible PostreSQL Location Based Capabilities

logger.info(f'Fetching capabilities from {location}')  
capabilities = self.client.location_based_capabilities.execute(location)  

Once the error was for northcentralus
142971-northcentralus-capabilities.log

No registered resource provider found for location 'northcentralus' and API version '2021-06-01' for type 'locations/capabilities'. The supported api-versions are '2020-02-14-privatepreview, 2020-02-14-preview, 2020-11-05-preview, 2021-06-01-preview, 2021-06-01'. The supported locations are 'australiaeast, australiasoutheast, brazilsouth, canadacentral, centralindia, centralus, eastasia, eastus, eastus2, francecentral, germanywestcentral, japaneast, japanwest, jioindiawest, koreacentral, koreasouth, northeurope, norwayeast, southafricanorth, southcentralus, southeastasia, southindia, switzerlandnorth, uaenorth, uksouth, ukwest, westcentralus, westeurope, westus, westus2, westus3'.

and later with koreasouth
142838-koreasouth-capabilities.log

No registered resource provider found for location 'koreasouth' and API version '2021-06-01' for type 'locations/capabilities'. The supported api-versions are '2020-02-14-privatepreview, 2020-02-14-preview, 2020-11-05-preview, 2021-06-01-preview, 2021-06-01'. The supported locations are 'australiaeast, australiasoutheast, brazilsouth, canadacentral, centralindia, centralus, eastasia, eastus, eastus2, francecentral, germanywestcentral, japaneast, japanwest, jioindiawest, koreacentral, northcentralus, northeurope, norwayeast, southafricanorth, southcentralus, southeastasia, southindia, switzerlandnorth, uaenorth, uksouth, ukwest, westcentralus, westeurope, westus, westus2, westus3'.

koreasouth case was also affecting Long Term Retention Backups - List By Location
142910-koreasouth-long-term-retention-backups.log

No registered resource provider found for location 'koreasouth' and API version '2020-11-01-preview' for type 'locations/longTermRetentionBackups'. The supported api-versions are '2017-03-01-preview, 2017-10-01-preview, 2018-06-01-preview, 2019-06-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview'. The supported locations are 'australiacentral, australiaeast, australiasoutheast, brazilsouth, canadacentral, canadaeast, centralindia, centralus, eastasia, eastus, eastus2, francecentral, germanywestcentral, japaneast, japanwest, jioindiawest, koreacentral, northcentralus, northeurope, norwayeast, southafricanorth, southcentralus, southindia, southeastasia, switzerlandnorth, uaenorth, uksouth, ukwest, westcentralus, westeurope, westindia, westus, westus2, westus3'.

The same code was running successfully in one location and failing in another and after some time the errors are gone.

What is the reason for a location being randomly unsupported?

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 32,716 Reputation points MVP
    2021-10-22T12:27:51.207+00:00

    Please refer to this documentation about possible causes and ways to solve this errors.

    Verify the API versions of Azure SQL Server Resource here.


  2. KalyanChanumolu-MSFT 8,316 Reputation points
    2021-10-25T06:53:36.72+00:00

    @Igor Evgrafov Apologies for the inconvenience caused to you.

    This could have been an intermittent issue. I am not able to reproduce this issue now.
    Please use version 2021-06-01 for this service.

    ----------

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments