【问题标题】:Uploading a file to storage location(bucket)将文件上传到存储位置(存储桶)
【发布时间】:2020-04-02 13:45:39
【问题描述】:

我尝试在 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 '内容类型:应用程序/八位字节流' -H '内容长度:308331' -T 'test.3ds'

【问题讨论】:

  • 提供您发送的请求的正文。通过编辑问题的内容来做到这一点。

标签: autodesk-forge autodesk-data-management


【解决方案1】:

您的模型文件似乎太大而无法上传,请改用可续传API,请参阅此处的相关帖子Upload large files (2GB) to Autodesk Forge Data Management API

【讨论】:

猜你喜欢
  • 2017-09-29
  • 1970-01-01
  • 2018-04-25
  • 1970-01-01
  • 2018-03-25
  • 2018-02-07
  • 1970-01-01
  • 1970-01-01
  • 2022-06-10
相关资源
最近更新 更多