Problem Box Node download file

I try to download a file from Box with the Box node.
Apparently the file is downloaded from Box. However, when I click on ‘show binary data’ in the Box node, nothing is displayed in the preview. Even if I forward the result of the download, I do not get a readable pdf.


He should display the following:

Can sadly not reproduce the issue. If I test it with a workflow (can be found below) which downloads a PDF from the web, uploads it to box, and then downloads it from there again, it displays the PDF correctly for me. Is there maybe something wrong with the PDF you are using? If not, can you please post a workflow that demonstrates the issue you are having so that we can debug it?

My test workflow:

{
  "nodes": [
    {
      "parameters": {
        "fileName": "test.pdf",
        "binaryData": true
      },
      "name": "Box8",
      "type": "n8n-nodes-base.box",
      "typeVersion": 1,
      "position": [
        400,
        1140
      ],
      "credentials": {
        "boxOAuth2Api": {
          "id": "",
          "name": ""
        }
      }
    },
    {
      "parameters": {
        "url": "http://www.africau.edu/images/default/sample.pdf",
        "responseFormat": "file",
        "options": {}
      },
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        220,
        1140
      ]
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": "={{$json[\"id\"]}}"
      },
      "name": "Box9",
      "type": "n8n-nodes-base.box",
      "typeVersion": 1,
      "position": [
        580,
        1140
      ],
      "credentials": {
        "boxOAuth2Api": {
          "id": "",
          "name": ""
        }
      }
    }
  ],
  "connections": {
    "Box8": {
      "main": [
        [
          {
            "node": "Box9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Box8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

This seems to be related to: Unable to Preview Downloaded PDF files in Google Drive - #3 by RicardoE105

Hello Jan
I tried your workflow with your data and it works.
Now i change the upload Url to https://share.ninox.com/7sri3odz3yyiagmun86ewvcp6wfv01myn7ih
Upload works to box. I can open and download the file thru the browser and it opens without any problem.
But download with the box-node produced the same issue i wrote before.