将文件上传到存储位置(存储桶)

时间:2019-12-09 12:42:38

标签: autodesk-forge autodesk-data-management

我尝试使用URL https://forge.autodesk.com/en/docs/data/v2/tutorials/upload-file/中提到的Windows和linux中的postman,curl命令上传文件,但出现网关超时错误。

我遵循了网址https://forge.autodesk.com/en/docs/data/v2/tutorials/upload-file/中的步骤。我能够创建存储桶。但是,当我尝试将文件上传到创建的存储桶时,其名称为504 gateway timeout error

您能给我解决方案吗?

Screenshot attached for error

请在下面找到要求: curl -v'https://developer.api.autodesk.com/oss/v2/buckets/testbucket/objects/test.3ds'-X'PUT'-H'授权:承载令牌'-H'内容类型:application / octet-stream'-H'内容长度:308331'-T'测试。 3ds'

1 个答案:

答案 0 :(得分:0)

您的模型文件大小似乎太大,无法上载,请改用可恢复的上载API,请参见Upload large files (2GB) to Autodesk Forge Data Management API此处的相关主题