# \[400\] Unable to load the document. Unable to load Document(1;DOCUMENT NAME). Unable to open document because it is corrupt or unsupported

**URL:** <https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807>\
**Category:** Questions\
**Tags:** google-drive, error\
**Created:** [September 12, 2024, 10:11am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807 "2024-09-12T10:11:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Souhail](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@Souhail](https://community.make.com/u/Souhail)\
**Post date:** [September 12, 2024, 10:11am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/1 "2024-09-12T10:11:23Z")

</div>

Hi everyone,

I have been scratching my head against this issue. I have a Google Drive download a file module. The module doesn’t fail and and extract’s the file but it seems to be formatted in a way that isn’t compatible with docusign when using google docs. Even when I change the advances options and set them all to convert to PDF nothing happens and it still fails.

However when I process a PDF through it then all goes well and the files makes it through the entire flow.

 ![Screenshot 2024-09-12 at 10.51.36](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/a/3a34db743a9db3530e416b7d22edb87278927f66.png)

I tried linking IlovePDF and converting to PDF automatically but it also gave me the exact error as docusign so something must be going on with google doc files downloaded that make it incompatible.,

I’d very much appreciate your help.

Thanks a lot!

**Drive Input bundle content**

```auto

[
    {
        "file": " **REDACTED**",
        "select": "map",
        "formatDrawings": "application/pdf",
        "formatDocuments": "application/pdf",
        "formatSpreadsheets": "application/pdf",
        "formatPresentations": "application/pdf"
    }
]

```

**Drive Output bundle content**

```auto
[
    {
        "kind": "drive#file",
        "id": "1brIbXwZZqe0vjrU6PIUKytSzBVVRxl0a",
        "name": "REDACTED",
        "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "starred": false,
        "trashed": false,
        "explicitlyTrashed": false,
        "parents": [
            "1Nqr7AnH3dDY9sxuy0js2CEZGjf2UpdFf5GzqY3-fVRXT_uEMffMWyeStMExnn1IE7al9lGSn"
        ],
        "spaces": [
            "drive"
        ],
        "version": "161",
        "webContentLink": "https://drive.google.com/uc?id=1brIbXwZZqe0vjrU6PIUKytSzBVVRxl0a&export=download",
        "webViewLink": "https://docs.google.com/document/d/1brIbXwZZqe0vjrU6PIUKytSzBVVRxl0a/edit?usp=drivesdk&ouid=111518471274334533388&rtpof=true&sd=true",
        "iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "hasThumbnail": true,
        "thumbnailLink": "https://lh3.googleusercontent.com/drive-storage/AJQWtBPiXYtpr5ImxZmmK06jxNNUcogNij5Qz2f7i0YVeeR87sFgosl3jg5b6fKA0IDHwOfGxdOUuD0_rKVPZR9ouQ3-hwtWgY8-qRXuAD40BEQF5cE=s220",
        "thumbnailVersion": "10",
        "viewedByMe": true,
        "viewedByMeTime": "2024-09-10T10:06:42.785Z",
        "createdTime": "2024-08-29T11:40:51.239Z",
        "modifiedTime": "2024-09-09T20:39:44.048Z",
        "modifiedByMeTime": "2024-09-09T20:39:44.048Z",
        "modifiedByMe": true,
        "sharedWithMeTime": "2024-08-29T11:40:51.821Z",
        "sharingUser": {
            "kind": "drive#user",
            "displayName": "REDACTED",
            "photoLink": "REDACTED",
            "me": false,
            "permissionId": "REDACTED",
            "emailAddress": "REDACTED"
        },
        "owners": [
            {
                "kind": "drive#user",
                "displayName": "REDACTEDi",
                "photoLink": "REDACTED",
                "me": true,
                "permissionId": "REDACTED",
                "emailAddress": "REDACTED"
            }
        ],
        "lastModifyingUser": {
            "kind": "drive#user",
            "displayName": "REDACTED",
            "photoLink": "REDACTED",
            "me": true,
            "permissionId": "REDACTED",
            "emailAddress": "REDACTED"
        },
        "shared": true,
        "ownedByMe": true,
        "capabilities": {
            "canAcceptOwnership": false,
            "canAddChildren": false,
            "canAddMyDriveParent": false,
            "canChangeCopyRequiresWriterPermission": true,
            "canChangeSecurityUpdateEnabled": false,
            "canChangeViewersCanCopyContent": true,
            "canComment": true,
            "canCopy": true,
            "canDelete": true,
            "canDownload": true,
            "canEdit": true,
            "canListChildren": false,
            "canModifyContent": true,
            "canModifyContentRestriction": true,
            "canModifyEditorContentRestriction": true,
            "canModifyOwnerContentRestriction": true,
            "canModifyLabels": false,
            "canMoveChildrenWithinDrive": false,
            "canMoveItemIntoTeamDrive": true,
            "canMoveItemOutOfDrive": true,
            "canMoveItemWithinDrive": true,
            "canReadLabels": false,
            "canReadRevisions": true,
            "canRemoveChildren": false,
            "canRemoveContentRestriction": false,
            "canRemoveMyDriveParent": true,
            "canRename": true,
            "canShare": true,
            "canTrash": true,
            "canUntrash": true
        },
        "viewersCanCopyContent": true,
        "copyRequiresWriterPermission": false,
        "writersCanShare": true,
        "permissions": [
            {
                "kind": "drive#permission",
                "id": "03393243565384990291",
                "type": "user",
                "emailAddress": "gorata@carry1st.com",
                "role": "writer",
                "displayName": "Gorata Makepe",
                "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocJKRBwEGFp_w6vK9jqa8HmMAxVyvX1O3R9pBaXa2gm2j0Hcjw=s64",
                "deleted": false,
                "pendingOwner": false
            },
            {
                "kind": "drive#permission",
                "id": "REDACTED",
                "type": "user",
                "emailAddress": "REDACTED",
                "role": "owner",
                "displayName": "REDACTED",
                "photoLink": "REDACTED",
                "deleted": false,
                "pendingOwner": false
            },
        ],
        "permissionIds": [
            "REDACTED",
          
        ],
        "originalFilename": "REDACTED",
        "fullFileExtension": "docx",
        "fileExtension": "docx",
        "md5Checksum": "836bc97996c239cbbf5a15bb6f3dfcd8",
        "size": "438152",
        "quotaBytesUsed": "438152",
        "headRevisionId": "0B_hKT1JzcJnoNEV3SlYwQzVsSzdEbmYraENXYVR4NWoxSFZRPQ",
        "isAppAuthorized": false,
        "linkShareMetadata": {
            "securityUpdateEligible": false,
            "securityUpdateEnabled": true
        },
        "data": "IMTBuffer(438152, binary, 48cf97c7c8de0597808709f6780ac41977a7b026): 504b0304140008080800922e295900000000000000000000000010000000776f72642f666f6f746572312e786d6ce597db6e1a311040bfa0ff80fc9eec8292285905a236b451a53ea034fd0063cfeebaf14d6303215f5fef95006964681e2295975de672",
        "filesize": 438152
    }
]

```

\*\* Docusign Input bundle content:\*\*

```auto

[
    {
        "status": false,
        "documents": [
            {
                "name": "REDACTED",
                "documentId": "1",
                "documentBase64": "IMTBuffer(438152, binary, 48cf97c7c8de0597808709f6780ac41977a7b026): 504b0304140008080800922e295900000000000000000000000010000000776f72642f666f6f746572312e786d6ce597db6e1a311040bfa0ff80fc9eec8292285905a236b451a53ea034fd0063cfeebaf14d6303215f5fef95006964681e2295975de672"
            }
        ],
        "recipients": {
            "Signers": [
                {
                    "name": "REDACTED",
                    "tabs": {},
                    "email": "REDACTED",
                    "recipientId": "1",
                    "addAccessCodeToEmail": false
                }
            ]
        },
        "emailSubject": "Complete via Docusign: REDACTED",
        "select_account": "{ \"accountId\": \"*REDACTED\", \"baseUri\": \"https://eu.docusign.net\" }"
    }
]

```

\*\* Docusign Output Bundle content\*\*

```auto
[
    null
]

```

---

<div class="post-metadata">

**Author:** ![ImMichaelCannon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/immichaelcannon/32/48674_2.png) [@ImMichaelCannon](https://community.make.com/u/ImMichaelCannon)\
**Post date:** [September 13, 2024, 2:28am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/2 "2024-09-13T02:28:59Z")

</div>

Welcome, @Souhail.

 ![Screenshot 2024-09-13 at 10.27.58](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/e/8e319a522ac1a1f5cc9795b463f9996a30bab66a.jpeg)

I think GDrive is converting the file to PDF for you, but the link for DocuSign is buried in the output. The video will show where to look.

Simple example [blueprint.json](https://community.make.com/uploads/short-url/8sbKdnWSEGNcb5tQ8LqULaI1UB3.json) (7.0 KB)

---

<div class="post-metadata">

**Author:** ![Souhail](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@Souhail](https://community.make.com/u/Souhail)\
**Post date:** [September 13, 2024, 9:46am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/3 "2024-09-13T09:46:08Z")

</div>

> [@ImMichaelCannon](#):
>
> blueprint.json

Thanks a lot Michael. You are very kind. Going above and beyond to include a video and the blueprint. Unfortunately it still isn’t working. Even on a blank project using your blueprint but linking to my corp Gdrive.

On my end in my output bundle I don’t see the Export links collection at all. See screenshot with red arrow that’s where it shows up on your end. In the docusign module when I search for it, it shows up, but as empty fields. This is quite odd and might be the source of the issue. I tried direct linking to a test google doc file and it still fails so the issue isn’t the variable ID extraction formula I have in place either. I also relinked my google account in case there were some issues with permission the first time around but still no luck.

Any suggestions as to how I can fix this? Much appreciated.

 ![Screenshot 2024-09-13 at 10.13.21](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/f/4f95468d1dbc165090417a093e1b76c7fd95cfa7.png)

 ![Screenshot 2024-09-13 at 10.33.42](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/ee639b231cbd6c7460b22a7e2b5137301d0d0a23.png)

 ![Screenshot 2024-09-13 at 10.35.18](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/2/929095e05539e0ad11321332cb28567933db67f5.png)

---

<div class="post-metadata">

**Author:** ![ImMichaelCannon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/immichaelcannon/32/48674_2.png) [@ImMichaelCannon](https://community.make.com/u/ImMichaelCannon)\
**Post date:** [September 16, 2024, 5:54am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/4 "2024-09-16T05:54:42Z")

</div>

Thank you for the kind words, @Souhail.

I’m guessing here, are you publicly sharing the Google Drive files? When not, I could understand why Export Links are missing.

---

<div class="post-metadata">

**Author:** ![Souhail](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@Souhail](https://community.make.com/u/Souhail)\
**Post date:** [September 27, 2024, 10:23am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/5 "2024-09-27T10:23:08Z")

</div>

Solution found! It turns out the issue was that the set of google docs were **.docx** format, which is used in Microsoft Word for documents.

In this case, Google Drive won’t work very well; it will only download the actual file, as Google Drive can only convert Google Docs files (the same cloud ecosystem).

In this case, I added another module that can convert these files for me, like [PDF.co](http://PDF.co). I had tried this previously with ilovePDF but it also failed and I got side tracker thinking it was a bug or something. For anyone else reading this trying [pdf.co](http://pdf.co) or other file conversion tools that work for you.

Cheers!

 ![Screenshot 2024-09-27 at 11.20.57](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/6/06650721c5b74cebcb9094c5f73bd2afa91a34a0.png)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 11, 2024, 10:23am UTC](https://community.make.com/t/400-unable-to-load-the-document-unable-to-load-document-1-document-name-unable-to-open-document-because-it-is-corrupt-or-unsupported/54807/6 "2024-10-11T10:23:47Z")

</div>


