Feed Utility return codes
August 22, 2024
ID 171406
After Feed Utility finishes its execution, it indicates success, partial success, or failure with a return code. A return code can have one of the values described below.
Return code values
Feed Utility returns the following values:
0
Success.
All the actions were successfully performed by Feed Utility.
For example, Feed Utility is configured to download and process two feeds, and both feeds were successfully downloaded and processed.
1
Failure.
All the actions performed by Feed Utility failed or could not be performed.
For example, Feed Utility is configured to download and process two feeds, and Feed Utility could not download any feeds because of a network error.
This value is returned when no records are written to any of the processed feed files because of the filtering rules.
2
Partial success.
Some of the actions were successfully performed by Feed Utility.
For example, Feed Utility is configured to download and process two feeds, and Feed Utility successfully downloaded and processed only one of the feeds.
This value is also returned when no records are written to one of the resulting feed files because of the filtering rules.
3
Nothing to download.
This value is returned in the following cases:
- Feeds were not downloaded and processed by Feed Utility (when the value of the
enabled
attribute in the Feed Utility configuration file isfalse
) - Feeds were not updated because the latest version of feeds is already present
- Feeds were not downloaded and processed by Feed Utility (when the value of the