Find the answer to your question
Advanced Search
AddMemberMessageAAQToPartner returns 'Message contains invalid syntax'. Here is my request:
<?xml version='1.0' encoding='utf-8'?>
<AddMemberMessageAAQToPartnerRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>Your Token</eBayAuthToken>
</RequesterCredentials>
<ItemID>12345678909</ItemID>
<MemberMessage>
<MessageType>ContactTransactionPartner</MessageType>
<QuestionType>General</QuestionType>
<Subject>test</Subject>
<Body><![CDATA[Thanks for buying the item 1234567688 that titled "Test Auction Title" ]]></Body>
<RecipientID>testaccount</RecipientID>
</MemberMessage>
</AddMemberMessageAAQToPartnerRequest>
Detail Description
The error is triggered by the double quotation that included inside the Body tag.
Even though double quotation is a legal XML characters by W3 definition, it is not allowed in the Message in both the eBay API calls and the site. You need to replace the quotation with entity reference" as showing in the follow request:
<?xml version='1.0' encoding='utf-8'?>
<AddMemberMessageAAQToPartnerRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>Your Token</eBayAuthToken>
</RequesterCredentials>
<ItemID>12345678909</ItemID>
<MemberMessage>
<MessageType>ContactTransactionPartner</MessageType>
<QuestionType>General</QuestionType>
<Subject>test</Subject>
<Body><![CDATA[Thanks for buying the item 1234567688 that titled "Test Auction Title" ]]></Body>
<RecipientID>testaccount</RecipientID>
</MemberMessage>
</AddMemberMessageAAQToPartnerRequest>