Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ds.upload causing AzureHttpError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. ErrorCode: AuthenticationFailed #7

Open
fadeevla opened this issue May 23, 2019 · 2 comments

Comments

@fadeevla
Copy link

ds.upload(src_dir='./squad', target_path='./squad')
results with error

~/miniconda3/envs/azureml/lib/python3.6/site-packages/azureml/_vendor/azure_storage/common/storageclient.py in _perform_request(self, request, parser, parser_args, operation_context, expected_errors)
304 except AzureException as ex:
305 retry_context.exception = ex
--> 306 raise ex
307 except Exception as ex:
308 retry_context.exception = ex

~/miniconda3/envs/azureml/lib/python3.6/site-packages/azureml/_vendor/azure_storage/common/storageclient.py in _perform_request(self, request, parser, parser_args, operation_context, expected_errors)
290 # and raised as an azure http exception
291 _http_error_handler(
--> 292 HTTPError(response.status, response.message, response.headers, response.body))
293
294 # Parse the response

~/miniconda3/envs/azureml/lib/python3.6/site-packages/azureml/_vendor/azure_storage/common/_error.py in _http_error_handler(http_error)
113 ex.error_code = error_code
114
--> 115 raise ex
116
117

AzureHttpError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. ErrorCode: AuthenticationFailed

@Darek-S
Copy link

Darek-S commented May 31, 2019

I had the same error, try it like this (without the "./" in target_path:
ds.upload(src_dir='./squad', target_path='squad')`

@skaarthik
Copy link
Contributor

@Darek-S thanks for the suggestion on this.
@xiaoyongzhu should we update the notebook based on the comments from @Darek-S ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants