# "https://ipfs.infura.io:5001/api/v0/add?stream-channels=true&progress=false"

**URL:** https://discuss.ipfs.tech/t/https-ipfs-infura-io-5001-api-v0-add-stream-channels-true-progress-false/9114
**Category:** Uncategorized
**Created:** [September 23, 2020, 12:25pm UTC](https://discuss.ipfs.tech/t/https-ipfs-infura-io-5001-api-v0-add-stream-channels-true-progress-false/9114 "2020-09-23T12:25:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nikhil483](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@Nikhil483](https://discuss.ipfs.tech/u/Nikhil483)
#### Post date: [September 23, 2020, 12:25pm UTC](https://discuss.ipfs.tech/t/https-ipfs-infura-io-5001-api-v0-add-stream-channels-true-progress-false/9114/1 "2020-09-23T12:25:48Z")

</div>

i am trying to add a file to ipfs and i am using infura  
but i am getting this message instead of uploading

“[https://ipfs.infura.io:5001/api/v0/add?stream-channels=true&progress=false](https://ipfs.infura.io:5001/api/v0/add?stream-channels=true&progress=false)”.

const ipfsClient = require(‘ipfs-http-client’)  
const ipfs = ipfsClient({ host: ‘[ipfs.infura.io](http://ipfs.infura.io)’, port: 5001, apiPath: ‘/api/v0’,protocol: ‘https’ })

onSubmit = (event) =\> {  
event.preventDefault()  
console.log(“Submitting the form”)  
console.log(this.state.buffer)  
ipfs.add(this.state.buffer,(error,result) =\>{  
console.log(“ipfs results”,result)  
if (error){  
console.error(error)  
return  
}  
//do stuff here  
})  
}

state variable buffer is set properly

---

<div class="post-metadata">

### Author: ![Sunlight1026](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/sunlight1026/32/5680_2.png) [@Sunlight1026](https://discuss.ipfs.tech/u/Sunlight1026)
#### Post date: [November 22, 2021, 8:54am UTC](https://discuss.ipfs.tech/t/https-ipfs-infura-io-5001-api-v0-add-stream-channels-true-progress-false/9114/2 "2021-11-22T08:54:03Z")

</div>

same.  
Did you resolve this problem?

---

<div class="post-metadata">

### Author: ![Xyncgas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/xyncgas/32/5732_2.png) [@Xyncgas](https://discuss.ipfs.tech/u/Xyncgas)
#### Post date: [December 8, 2021, 5:28am UTC](https://discuss.ipfs.tech/t/https-ipfs-infura-io-5001-api-v0-add-stream-channels-true-progress-false/9114/3 "2021-12-08T05:28:40Z")

</div>

the message you said it showed looks like a stack trace or something worst…
