Home
Find the answer to your question
SetNotificationPreferences returned Success, but I'm not receiving any notifications. Also, GetNotificationPreferences shows my ApplicationURL as 'http://dummy.com'. Why is this happening?
Summary
The SetNotificationPreferences call in the Unified Schema will ignore input fields that are not defined in the schema. Therefore if you misspell ApplicationDeliveryPreferences as ApplicationDeliveryPreference, the call may return Success, but in fact it does not set your ApplicationURL. SetNotificationPreferences call will default the ApplicationURL to 'http://dummy.com' in the case where no ApplicationDeliveryPreferences are detected.
<?xml version="1.0" encoding="utf-8"?>
<SetNotificationPreferencesResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2006-11-13T22:59:26.404Z</Timestamp>
<Ack>Warning</Ack>
<Errors>
<ShortMessage>Unrecognized element <ApplicationDeliveryPreference> in SOAP request.</ShortMessage>
<LongMessage>The element <ApplicationDeliveryPreference> was found in the input SOAP request. This is not a declared element in the schema and will be ignored.</LongMessage>
<ErrorCode>21927</ErrorCode>
<SeverityCode>Warning</SeverityCode>
<ErrorParameters ParamID="0">
<Value>ApplicationDeliveryPreference</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>485</Version>
<Build>e485_core_Bundled_3782291_R1</Build>
</SetNotificationPreferencesResponse>
From this warning, you can find out that an incorrect tag was used. You need to use ApplicationDeliveryPreferences instead.
Version Info
The code example above was based on the versions specified below:
API Schema Version | 485 |