While running my configuration from gitlab pipeline i am getting this issue
╷
92│ Error: Unable to list provider registration status, it is possible that this is due to invalid credentials or the service principal does not have permission to use the Resource Manager API, Azure error: resources.ProvidersClient#List: Failure responding to request: StatusCode=400 – Original Error: autorest/azure: error response cannot be parsed: {“\r\nBad Request\r\n<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii">\r\n
Bad Request - Invalid URL
\r\nHTTP Error 400. The request URL is invalid.
\r\n\r\n” ‘\x00’ ‘\x00’} error: invalid character ‘<’ looking for beginning of value93│
94│ with provider[“Terraform Registry”],
95│ on provider.tf line 9, in provider “azurerm”:
96│ 9: provider “azurerm” {
when tried to run from local it’s working fine and also service principal has contributor access and service principal is working fine
Please help me to debug this issue and how to resolve this issue