Home
Find the answer to your question
I am getting Error 36 "Constraint.SalesTaxRegion.Invalid" as below for my AddItem call. What is the problem?
<?xml version="1.0" encoding="utf-8"?>
<VerifyAddItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2008-04-04T01:41:46.984Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>An error occurred.</ShortMessage>
<LongMessage>An error number "Constraint.SalesTaxRegion.Invalid" occurred while processing your request.</LongMessage>
<ErrorCode>36</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Constraint.SalesTaxRegion.Invalid</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>557</Version>
<Build>e557_intl_Bundled_6350039_R1</Build>
</VerifyAddItemResponse>
Detailed Description
CAUSE
The possible cause for this error is
- The HTTP Header X-EBAY-API-SITEID is set to 1, an invalid SiteID, for the AddItem request in question.
RESOLUTION
To work around this problem, check of the following suggestion:
- Check the X-EBAY-API-SITEID HTTP Header against the eBay Site IDs table for the API request and make sure the value is valid.
NOTE
- Not sending API request to an invalid SiteID like 1 can help you avoid problems from errors or unexpected behaviors.
Additional Resources
Routing the Request (Gateway URLs)