# Ipfs file uploading issue

**URL:** <https://discuss.ipfs.tech/t/ipfs-file-uploading-issue/8122>\
**Category:** Help\
**Tags:** js-ipfs\
**Created:** [June 1, 2020, 3:27pm UTC](https://discuss.ipfs.tech/t/ipfs-file-uploading-issue/8122 "2020-06-01T15:27:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohail411](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rohail411/32/3847_2.png) [@rohail411](https://discuss.ipfs.tech/u/rohail411)\
**Post date:** [June 1, 2020, 3:27pm UTC](https://discuss.ipfs.tech/t/ipfs-file-uploading-issue/8122/1 "2020-06-01T15:27:20Z")

</div>

I’m using IPFS service for file storage. From Node.js application I can initialize IPFS\_Node and using this Node upload file.

```auto
var ipfs = ipfsClient({
            // the hostname (or ip address) of the endpoint providing the ipfs api
            host: ' *****************',
            // the port to connect on
            port: '443',
            // 'api-path': '/api/v0/',
            // the protocol, https for security
            protocol: 'https',
            // provide the jwt within an authorization header
            headers: {
                authorization:
                    'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ **********************'
            }
        });
 const data = await ipfs.add(file);
         console.log(data);

```

**it returns (Object [AsyncGenerator] {} ) empty object**

---

<div class="post-metadata">

**Author:** ![rohail411](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rohail411/32/3847_2.png) [@rohail411](https://discuss.ipfs.tech/u/rohail411)\
**Post date:** [June 4, 2020, 10:39am UTC](https://discuss.ipfs.tech/t/ipfs-file-uploading-issue/8122/2 "2020-06-04T10:39:56Z")

</div>

I have found an error the issue is ipfs-http-client version (^44.0.1). When I update it into the latest version (^44.1.1) error resolved.

**Change this:** `"ipfs-http-client": "^44.0.1"`

**To:** `"ipfs-http-client": "^44.1.1",`
