Trying to Create a bucket getting object is missing response

我的梦境 提交于 2019-12-25 09:19:22

问题


Tried to talk to the api with the following Request:

POST /oss/v2/buckets/ HTTP/1.1
Host: developer.api.autodesk.com
Authorization: "Bearer sOla4eICLR6IBcx0892MvPjJ***"
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 1018dee7-22f1-d20b-4d11-32c4fd41d525

{
  "bucketKey":"energymetrics.bucket1",
  "policyKey":"transient"
} 

Response:

{{
  "developerMessage": "Object is missing",
  "userMessage": "",
  "errorCode": "",
  "more info": "http://developer.api.autodesk.com/documentation/v1/errors/"
}} 

Tried in both PostMan and C#


回答1:


Please make sure you're using the URL without the trailing slash

https://developer.api.autodesk.com/oss/v2/buckets


来源:https://stackoverflow.com/questions/40748037/trying-to-create-a-bucket-getting-object-is-missing-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!