I'm trying to upload bigger video files to pinata of around 1-2GB. I'm using pinata SDK and using the pinFileToIPFS function to pin file. However, it is taking forever and ends up crashing the node server. I looked at the Pinata docs, but couldn't a way to handle large files or upload them by chunk to Pinata. Any kind of thoughts on this will be helpful. Thanks in advance
Uploading bigger files to Pinata using pinata sdk - nodejs
299 Views Asked by Arshpreet Singh At
1
There are 1 best solutions below
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in FILE
- Helpt with reading files
- Why can't I use the file pointer after the first read attempt fails?
- Can't read the file using std::wifstream C++
- How can the scanner reread the entire file after it has already executed hasNextLine once?
- What is 'Invalid Load Key, '\x00'
- php $_FILE variable undefined index
- Data loaded from the file is not returned in the correct order
- File splitting and encryption
- Optimizing an s5cmd command that uses awk to generate a text file
- segmentation fault while reading in text file ( c++ )
- File.OpenText is adding C:\ to the front which is an error
- UTF-8 issue with excel
- How to upload files to MediaWiki APIs in Rust?
- No such file or directory: '/tmp/tmp_ejr26m6.upload.mp3' in Django
- Problems accessing zip files on the react front end from express backend
Related Questions in UPLOAD
- Curl URL syntax for uploading files
- How to upload files to MediaWiki APIs in Rust?
- Trouble uploading with playwright
- Kendo Ui Angular File Upload
- Get 5 images with preview and delete using jquery
- how to analyse a project in sonarcloud
- Gzip compression for HTML form upload?
- Poco HTTP upload file, HTTP header written in file
- Upload .tex File to Overleaf
- Upload multiple pdf issue on jenkins with java selenium
- How can I upload a tar.bz2 file to Openstack Swift Object storage container using Python Swift Client?
- Fb2 UploadedFile mimetype on different OSes not the same
- Asset validation error on App Store upload
- Why uploading a file is so slow?
- dronekit can not download mission with serial or usb connections
Related Questions in MULTER
- Multer unable to process files
- Property 'location' does not exist on type 'File'
- Issue with Google Drive API Integration: Unexpected HTML Response from Backend in Production Environment
- How to upload image to Cloudinary and save the image url to mongodb. using next js 13.4+ in app router
- How to make avatar field optional in controller?
- How to pass multer file data into LangChain.js WebPDFLoader correctly?
- Multer not populating req.file on using form data input from form
- multer file validations not working correctly (not recieving responses)
- Issue with multer upload files
- Req.file is undefined when image update in mongodb
- Why I recieve an typescript error when using req.files.length?
- File size limits in file upload using multer
- Firebase-Admin Can't Upload Image to Firebase
- Uploading Image BLOB in react and sending post request to node express
- Why won't my multer file uploads to AWS s3 work?
Related Questions in PINATA
- Can I build a dynamic Web3 site using IPFS?
- ERR_BAD_REQUEST - Code 400: NFT Marketplace: createNFT function using Pinata not work
- Error Uploading File to IPFS. I am using the pinFileToIPFS gateway
- Error uploading file to IPFS: (readStream is not a readable stream or form data & source.on is not a function)
- POST https://api.pinata.cloud/pinning/pinFileToIPFS 400 while uploading image
- How can I pin json to ipfs with pinata (pinJsonToIpfs method) info directory? React
- Firebase Cloud Function in typescript not working with form data request
- Pinata API Error "Incorrect request. Please send the correct format, { hashToPin: 'yourHash', pinataMetadata: (optional metadata)} For NFTs
- Unable to fetch data from Pinata (IPFS)
- How can I read from S3 and then write to IPFS using Pinata?
- Issue with constructor initialization in Typescript
- After I run "node index.js" instead of a link to the picture, I get only "https://gateway.pinata.cloud/ipfs/${result.IpfsHash}" without IpfsHash
- NextJS: Access to XMLHttpRequest from origin blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
- Uncaught (in promise) AxiosError {message: 'Request failed with status code 400', name: 'AxiosError', code: 'ERR_BAD_REQUEST
- Running npm run build produces same output
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Super late answer here, but you could try this CLI. It tends to work better. But there is a better upload API coming down the pike soon too.
https://www.npmjs.com/package/pinata-upload-cli
If you can't use the command line for your project, check out the source code for the CLI. It uses a different request library (got) that seems more reliable that what the SDK uses.