-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 6.0.3
-
Fix Version/s: None
-
Component/s: Core
When document#fetch_blob works as expected, s3 direct download fails with the following exception
File "/Users/andrei/Developer/Nuxeo/MachineLearningAnalysis/MLAnalysis/data/nuxeoDocument.py", line 48, in _get_blob return self.nuxeo_client.documents.fetch_blob(uid=self.doc.uid, xpath=xpath) File "/Users/andrei/miniforge3/envs/nxai/lib/python3.9/site-packages/nuxeo/documents.py", line 265, in fetch_blob return super(API, self).get( File "/Users/andrei/miniforge3/envs/nxai/lib/python3.9/site-packages/nuxeo/endpoint.py", line 80, in get response = self.client.request("GET", endpoint, **kwargs) File "/Users/andrei/miniforge3/envs/nxai/lib/python3.9/site-packages/nuxeo/client.py", line 310, in request raise self._handle_error(exc) nuxeo.exceptions.HTTPError: HTTPError(400), error: b'<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidArgument</Code><Message>Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified</Message><ArgumentName>Authorization</ArgumentName><ArgumentValue>Basic bmNvLWFkbWluOkFNQkY2eU01elp3UEVmUVpOcA==</ArgumentValue><RequestId>VKEZAYJVQW91FEHK</RequestId><HostId>afMRWZYpKR0Q8K1pTtLgmmC02iHD9sl29gzunS+d1NtQqCw4xp9clPQQK4Qu4nCfs4HdT/qh3/4=</HostId></Error>', server trace: None