Classic file types are no longer available for use as of January 2021. You can transition your classic files or download a PDF. Learn More

Decrypt and import file to table

Beantwoord
0

Opmerkingen

3 opmerkingen

  • Mark Isla

    Emilia Bruchental do you mind sharing a screenshot of your Create File command?  You can try typing decrypted_file.csv directly in the File Name field and see if that works.

    0
  • Emilia Bruchental

    Hello Mark,

    That's what I am passing to the Create file command. The hard coded name of the file, because I wanted to keep it simple.

    And here is the Move command:

     

    And here is the full error on the Create File:

    Command description: Accepts CSV/JSON file or a ZIP file with a single CSV or JSON file contained within. 
    The file in the ZIP file must be CSV or JSON file and the name of the CSV or JSON is used to name the imported file. 
     
    It is also possible to upload a url to a file to be downloaded instead of a file itself. 
    This command will then make a request to get the file using a simple unauthenticated GET request. An example URL would be an S3 signed url to a file in an S3 bucket. 
    JSON files are expected to have a single json record per line, in other words, a JSON file is a series of JSON objects delimited by a newline character. 
     
    NOTE that all files uploaded must have a .csv or .json extension, or the name just have a .csv, .tsv or .json extension. 
     
    Uncompressed file detected, zipping before sending to Workiva 
    Error creating file: file mimetype application/zip not permitted 
    . Code 400 
    Result: Error creating file: file mimetype application/zip not permitted 
    . Code 400 

    Here is also an image of my test chain:

    0
  • Jeff Hickey

    Hi Emilia Bruchental,

    This can be achieved with the following commands at minimum:

    1. SFTP - Download File: Use this command to download the PGP encrypted csv file from your SFTP server
    2. Encryption - Decrypt with PGP key: The Encryption Connector must be configured with the corresponding PGP Private Key File. Work with your IT and security team to ensure this Connector has been configured correctly with the right private key. Then use this command to decrypt the csv file downloaded in step 1. Validate this command's output to ensure the file is decrypted as expected
    3. Workiva - Create File: Use this command to stage the decrypted file from step 2 into a Wdata Table. Specify the Name to include a valid file extension if needed. Alternatively, use the Load Data to Wdata template
    0

U moet u aanmelden om een opmerking te plaatsen.