Get told when a feed fails
The feed grid says when a feed has stopped delivering, but only to someone who opens it. With Arlanix Notifications, a separate module, the people who look after the feeds hear about it by email, in Slack, Telegram or Discord: when a feed fails, when it delivers again, and when more of its products are left out or refused by the API channel.
The feed has no setting for this. In Arlanix Notifications, a rule sends matching feed events to a topic. Each subscription to that topic sets where the message goes and the minimum severity it accepts.
Before you start
Arlanix Notifications is installed by your developer, beside the feed: send them its installation guide. Once it is in, it has its own place under Arlanix > Notifications, and the feed's events are in its rule form under Product feeds.
Your first rule walks through a topic, a subscription and a rule; Rules has the rest.
What the feed tells
A rule can notify you when a feed first fails, when the kind of failure changes, and when delivery resumes. A different error message for the same kind of failure does not trigger another event.
| Event | When | Severity |
|---|---|---|
| Feed failed | A delivery fails, a feed that would be empty is not delivered, or a run stops responding. Then, as Info, the first delivery that works. | Error; Info when it delivers again |
| Products left out | A delivery leaves more products out than the feed last told of, such as after a change that empties a field marked Required. | Warning |
| Products refused by the channel | On a completed delivery, the refusal count for a Merchant API feed has grown enough to trigger a warning. This includes rows the channel cannot send, such as a row that repeats another product's ID. | Warning |
For feeds of 500 to 5,000 products, the count must grow by at least 50. For smaller feeds, the threshold is 10%, with a minimum of five. For larger feeds, it is 1%. Both percentages round down to a whole number. Small increases add up across deliveries. Each count is compared with its own last reported value. A drop to zero resets that baseline.
The feed size includes the rows in the file or API channel and the products left out. For an API feed, rows waiting to be sent and refused rows both count.
With the event's default text, a failure message gives the feed identifier and the reason. With Add details on, the message also names the channel and store view. For example:
Feed google-us failed.
Could not connect to sftp.example.com:22: Connection timed out.
What a delivery left out, and why, is in the feed's products list: see Why is a product not in the feed?. Every field an event has, for conditions and for your own wording, is in Events.
Rules you can make
Make each in Arlanix > Notifications > Rules > Add rule: a Name, the Event, the Topic, then the conditions below. Leave Subject and Body empty for the event's own text. Make the topic and subscribe its people first: see Topics.
Every feed, to the team's Slack
- Event: Feed failed
- Topic: Feed alerts, with the team's Slack channel subscribed
With no condition, the team hears about failures and recoveries for every feed.
Failures only
- Event: Feed failed
- Conditions: State is Problem
- Topic: Feed alerts
Or keep the rule above and let a subscription take only warnings and errors: the message that a feed delivers again is Info, so it does not get that one.
Google feeds to the merchandiser
- Event: Feed failed
- Conditions: Feed type is Google Shopping
- Topic: Merchandising, delivered by email
For one feed alone, the condition is Feed is and the feed's identifier.
Products the API channel refuses
- Event: Products refused by the channel
- Conditions: Channel is Google Merchant Center (API)
- Topic: Merchandising
In Health, click the refused link for the channel's reason. If a product reached Merchant Center and was then disapproved, see When Google rejects products.