01-21-2021 02:29
01-21-2021 02:29
Hi,
I am trying to hit delete subscription api but getting 404 Not Found in response
Please guide in the same.
Thanks
Answered! Go to the Best Answer.
01-21-2021 17:06
01-21-2021 17:06
Hi @Govida,
Can you tell me if you have more than one subscriber endpoint? If so, are you specifying the correct subscriber id in your delete subscription endpoint? A subscriber id is the id of the subscriber that will receive the subscription notifications. If omitted the default subscriber will be used. This parameter is case sensitive. If you don't specify a subscriber id in your endpoint, the changes will apply only to your default subscriber.
If you only have one subscriber id, can you confirm the user you are subscribed to has existing subscriptions? This can be confirmed by executing the Get List of Subscriptions endpoint against the user id in question. If an empty array is returned for the collection type you are trying to delete subscriptions from, a subscription doesn't exist for that collection type.
I hope this helps. Let me know if you have any additional questions.
01-21-2021 17:06
01-21-2021 17:06
Hi @Govida,
Can you tell me if you have more than one subscriber endpoint? If so, are you specifying the correct subscriber id in your delete subscription endpoint? A subscriber id is the id of the subscriber that will receive the subscription notifications. If omitted the default subscriber will be used. This parameter is case sensitive. If you don't specify a subscriber id in your endpoint, the changes will apply only to your default subscriber.
If you only have one subscriber id, can you confirm the user you are subscribed to has existing subscriptions? This can be confirmed by executing the Get List of Subscriptions endpoint against the user id in question. If an empty array is returned for the collection type you are trying to delete subscriptions from, a subscription doesn't exist for that collection type.
I hope this helps. Let me know if you have any additional questions.
01-28-2021 23:45
01-28-2021 23:45
Hi John,
Yes, we do have 2 subscribers registered. Earlier we were not sending subscriber id in api call, I included that and now delete subscription is working fine.
Thank you for your reply!