shaded.databricks.org.apache.hadoop.fs.azure.AzureException: An exception while trying read from storage container in azure blob storage
SAL
0
Reputation points
My first part of the code works fine:
dbutils.widgets.text("AutoLoanFilePath", "")
inputPath = dbutils.widgets.get("AutoLoanFilePath")
inputPath = 'SEPT_2024/FAMILY_SECURITY'
autoPath = 'dbfs:/mnt/dbs_adls_mnt/Prod_landing/'+inputPath
autoLoanPath = autoPath+'/AUTOLOAN1.csv'
criteriaPath = autoPath+"/CRITERIA.csv"
newratePath = autoPath+"/NEWRATE.csv"
autoloanoutputPath = autoPath+"/AutoLoan1Processed.csv"
lsPath = '/mnt/dbs_adls_mnt/Prod_landing/'+inputPath
print(autoLoanPath)
But while I am trying to mount the directory I am getting an error of
%fs
ls /mnt/dbs_adls_mnt/Prod_landing
AzureException: hadoop_azure_shaded.com.microsoft.azure.storage.StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. Caused by: StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Sign in to answer