App reviews, troubleshooting, and recommendations
Got this error: Content-length smaller than lower bound on range, while clling POST api after stagedUpload for video file.
- i am making post call using axios from node js to upload video file using policy, signature,key and googleAccessId.
const bodyData = new FormData()
stagedVideoData.parameters.forEach(element => {
bodyData.append(element.name, element.value)
});
bodyData.append("file", JSON.stringify(video))
// POST call for file upload
await axios.post(stagedVideoData.url, bodyData)
.then(data => {uploadVideo = data
console.log(data, "data inside then");
})
.catch(error => {
console.log("=======", Object.keys(error),error['response']['data'], "=========");
})
- here i am passing multer parsed file into form data as file.
please provide your suggestions .
Thanks
Nikunj
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024