404 requesting SyncStatus... a.k.a. Status
I am trying to make a query to get the SyncStatus objects that have
failed. In The API Explorer you have to choose the "Status" menu option in
order to test this and submit requests to https:///sb/STATUS/v2/, even
though the response XML refers to it as SyncStatus... so not really sure
what it should be called exactly.
But that's not really my problem. My problem is that when I submit a
request (details below) I get a 404 error. It works perfectly find in the
API Explorer, with the exact same XML in the body. I make other calls to
the API all the time, so I know my framework is working.
Help?
REQUEST HEADERS
Content-Length: 322
Authorization:
OAuth
oauth_consumer_key="KEY",
oauth_nonce="NONCE",
oauth_signature="SIG",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1377117362",
oauth_token="TOKEN",
oauth_version="1.0"
Content-Type: text/xml
Host: services.intuit.com
Connection: Keep-Alive
REQUEST BODY
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><SyncStatusRequest
ErroredObjectsOnly="true" xmlns="http://www.intuit.com/sb/cdm/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.intuit.com/sb/cdm/xmlrequest
RestDataFilter.xsd"><OfferingId>ipp</OfferingId></SyncStatusRequest>
RESPONSE (with some new lines added for readability)
<html><head><title>JBoss Web/2.1.12.GA-patch-03 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head>
<body>
<h1>HTTP Status 404 - Null subresource for path:
https://internal.services.intuit.com/sb/status/v2/725079435</h1>
<HR size="1" noshade="noshade">
<p>
<b>type</b>
Status report</p><p><b>message</b> <u>Null subresource for path:
https://internal.services.intuit.com/sb/status/v2/725079435</u>
</p><p>
<b>description</b>
<u>The requested resource (Null subresource for path:
https://internal.services.intuit.com/sb/status/v2/725079435) is not
available.</u>
</p>
<HR size="1" noshade="noshade">
<h3>JBoss Web/2.1.12.GA-patch-03</h3>
</body></html>
No comments:
Post a Comment