question

IgorEvgrafov-1134 avatar image
0 Votes"
IgorEvgrafov-1134 asked KalyanChanumolu-MSFT answered

Random NoRegisteredProviderFound error

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlbertoMorillo avatar image
0 Votes"
AlbertoMorillo answered IgorEvgrafov-1134 commented

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

Verify the API versions of Azure SQL Server Resource here.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

None of the possible causes from this link are applicable there.


Well, "Location not supported for the resource type" is technically applicable but why one location is changing status from supported to unsupported and back?

0 Votes 0 ·
KalyanChanumolu-MSFT avatar image
0 Votes"
KalyanChanumolu-MSFT answered

@IgorEvgrafov-1134 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.