尝试创建获取对象的存储桶时缺少响应 [英] Trying to Create a bucket getting object is missing response

查看:83
本文介绍了尝试创建获取对象的存储桶时缺少响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图通过以下请求与api对话:

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"
} 

响应:

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

在PostMan和C#中都尝试过

Tried in both PostMan and C#

推荐答案

请确保您使用的URL不带斜杠

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

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

这篇关于尝试创建获取对象的存储桶时缺少响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆