How to upload .glb file
Hi guys !
I want to upload .glb file using Nodejs
My code
await cloudinary.v2.uploader.upload(
"3d.zip",
{resource_type: "image"},
(err, result) => {}
)
I'm following the instructions here
But throw Error Message "Unsupported ZIP file"
0
-
Hi,
You will need to enable the 'PDF and ZIP files delivery' from the setting->security page of your Media Library console. in order for these file types to be uploaded and delivered to your account.
Also, these kinds of files are non-media files and they must be uploaded with the parameter resource_type='raw' (see this documentation).
Hope this helps.
0
Post is closed for comments.
Comments
1 comment