I’m uploading a usdz file (attached) to the cloud via cURL. Then try to use either
'curl -v -d "" -X POST "https://api.aspose.cloud/v3.0/3d/saveas/newformat?name=framedpicture.usdz&newformat=gltf&newfilename=framedpicture.gltf&IsOverwrite=true" -H "accept: application/json" -H "authorization: Bearer TOKEN';
or the
'curl -v -d "" -X POST "https://api.aspose.cloud/v3.0/3d/saveas/newformat?name=framedpicture.usdz&newformat=gltf2&newfilename=framedpicture.gltf&IsOverwrite=true" -H "accept: application/json" -H "authorization: Bearer TOKEN';
both give corrupted GLTF files (but corrupted in different ways).
- one says the JASON is invalid
- one says the mime type of an image is invalid
What’s the best way to go about debugging this?
Thanks!
framedpicture.usdz.zip (546.3 KB)