Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Azure Data Lake File Output Error

igorfv
8 - Asteroid

Hi,

 

I’ve tried to connect in ADSL File Output connector with “adl_StorageAccountKey” parameter by macro but I received the message error below. Could you help me, please?

 

1 – I sent the “AccessToken” field to macro:

 

igorfv_0-1674057631835.png

 

igorfv_1-1674057631849.png

 

2 – I updated the “adl_StorageAccountKey” value. I tried to replace the original value in this field, but the error persisted.

 

igorfv_2-1674057631909.png

 

3 – The value where I need to replace in ADLS File Output:

 

igorfv_3-1674057631967.png

 

4 - Message Error::

 

Error: ADLSKeyVaultMacroOutput1_0 (65): Record #1: Azure Data Lake File Output (1): Traceback (most recent call last):

  File "adl_output_engine.py", line 403, in ii_push_record

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\connectors_core\azure\filewriters.py", line 64, in open

    file_exists = self.file_exists()

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\connectors_core\azure\filewriters.py", line 112, in file_exists

    file_info = self.adl_fs.info(path=self.file_path)

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\ADLSGen2.py", line 104, in wrapper

    return f(*args, **kwargs)

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\ADLSGen2.py", line 303, in info

    r = self.requests.head(f'{self.url}/{path.lstrip("/")}', headers=self.headers)

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\ADLSGen2.py", line 104, in wrapper

    return f(*args, **kwargs)

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\ADLSGen2.py", line 201, in _request

    new_headers = self._prepare_headers(

  File "C:\ProgramData\Alteryx\Tools\azure_data_lake_output_v2.0.0\ADLSGen2.py", line 248, in _prepare_headers

    base64.b64decode(self.instance.shared_key),

  File "C:\Program Files\Alteryx\bin\Miniconda3\lib\base64.py", line 87, in b64decode

    return binascii.a2b_base64(s)

binascii.Error: Incorrect padding

 

Info: ADLSKeyVaultMacroOutput1_0 (65): 1 iterations were run

 

igorfv_4-1674057631987.png

 

0 REPLIES 0
Labels
Top Solution Authors