Happy Business Starts Here

Zuora Alumni

Cannot upload usage using POSTMAN

Problem:  I cannot upload usage using POSTMAN.   Below is the information I'm sending.

 

Headers:

 

apiAccessKeyId: MyUserid@test.com
apiSecretAccessKey: MyPwduserid@test.com
Content-Type : multipart/form-data

 

Endpoint: 

 

POST https://rest.apisandbox.zuora.com/v1/usage

 

Error: 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<meta content="IE=9; IE=8; IE=7;" http-equiv="X-UA-Compatible">
<title>Zuora,Inc.</title>
<link type="text/css" rel="stylesheet" href="Style/zodiac.css">
<link type="text/css" rel="stylesheet" href="tag/css/popup.css">
<script src="tag/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="tag/js/jquery.zuora.js" type="text/javascript"></script>
<script src="Include/zodiac.js" type="text/javascript"></script>
<script src="tag/js/popup.js" type="text/javascript"></script>
<style type="text/css">
.main-content {
margin: 40px auto 80px;
width: 600px;
}

.main-content h2 {
font-size: 20px;
font-weight: normal;
}

.main-content p {
font-size: 11px;
}

#footer {
border-top: 1px solid #f2f2e8;
padding-top: 15px;
}
</style>
<script language="javascript">
window.addEvent('domready', function () {
var top_nav_list = $$("#z-topnav li");
top_nav_list.each(function (item, index) {
$(item).addEvent('mouseenter', function () {
item.addClass('over');
});
$(item).addEvent('mouseleave', function () {
item.removeClass('over');
});
});
})
</script>
</head>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MARGINWIDTH="0" MARGINHEIGHT="0" onclick="">
<div id="z-header">
<div class="z-logo-header1" id="z-logo">
<a title="zuora" href="http://www.zuora.com/index.html">
<img src="Images/zuora_logo.gif">
</a>
</div>
<div id="z-topnav">
<ul class="clear-block">
<li id="login">
<a href="login.do">
<span>Login</span>
</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h2>Error</h2>
<p>We apologize. There has been an internal system error that prevents us from processing your request at this time.
If you would like technical support, please email
<a href=\"mailto:support@zuora.com\">support@zuora.com</a>.
</p>
</div>
<div id="footer" style="">
<a href="http://www.zuora.com/company/index.html" class="panel_link">About Zuora</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.zuora.com/news/index.html" class="panel_link">Press &amp; News</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.zuora.com/privacy.html" class="panel_link">Privacy</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<!--z:visible begin-->
<!--z:visible end-->
<a href="http://www.zuora.com/company/zuora-careers.html" class="panel_link">Careers</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://info.zuora.com/WebsiteContactUs.html" class="panel_link">Contact Us</a>
<div style="text-align:center; color: #666; margin:6px 0 12px 0;">Copyright &copy; 2008-2017, Zuora Inc. All Rights Reserved.</div>
</div>
<!-- footer layer end -->


</body>
</html>

 

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Zuora Alumni

Re: Cannot upload usage using POSTMAN

Answer: POSTMAN will error out if you pass the below header.   Removing it will resolve the issue.

 

Content-Type: multipart/form-data



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √