<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>error handling Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/tag/error-handling/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/tag/error-handling/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Wed, 19 Mar 2025 13:33:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>error handling Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/tag/error-handling/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SSIS Error Handling – Ignore API Error OR Redirect bad rows</title>
		<link>https://zappysys.com/blog/ssis-error-handling-in-data-flow-redirect-bad-rows/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Thu, 08 Jun 2017 02:05:58 +0000</pubDate>
				<category><![CDATA[SSIS Components]]></category>
		<category><![CDATA[SSIS PowerPack]]></category>
		<category><![CDATA[error handling]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">http://zappysys.com/blog/?p=1270</guid>

					<description><![CDATA[<p>Introduction In this article you will learn how to implement SSIS error handling (detect or redirect bad rows) for SSIS PowerPack components inside Data Flow. If you never heard about SSIS PowerPack then we&#8217;ve got to tell you it&#8217;s an add-on pack to get additional 45+ SSIS components and Task connectors (e.g. connectivity to REST API, [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/ssis-error-handling-in-data-flow-redirect-bad-rows/">SSIS Error Handling – Ignore API Error OR Redirect bad rows</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-error-handling.png"><img decoding="async" class="alignleft wp-image-2200" src="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-error-handling.png" alt="" width="90" height="90" srcset="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-error-handling.png 180w, https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-error-handling-150x150.png 150w" sizes="(max-width: 90px) 100vw, 90px" /></a>In this article you will learn how to implement SSIS error handling (detect or redirect bad rows) for <a href="//zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a> components inside <em>Data Flow</em>. If you never heard about SSIS PowerPack then we&#8217;ve got to tell you it&#8217;s an add-on pack to get additional 45+ SSIS components and Task connectors (e.g. connectivity to REST API, JSON, XML, Azure, AWS, <a href="//zappysys.com/blog/tag/google-api/" target="_blank" rel="noopener">Google</a>, <a href="//zappysys.com/blog/tag/salesforce/" target="_blank" rel="noopener">Salesforce</a> etc). In our previous article we saw <a href="//zappysys.com/blog/handling-ssis-component-metadata-issues/" target="_blank" rel="noopener">how to fix common metadata related errors</a> (e.g. truncation error).</p>
<h2></h2>
<h2>SSIS Error Handling: Redirect bad rows to error output</h2>
<p>If you want to detect records which are causing errors then you can redirect bad rows to error output using following way.</p>
<h3>Redirecting bad rows to error output</h3>
<p>To know which records causing failure you can redirect error output by dragging red arrow from component to downstream component (when prompted set Error and Truncation options to [Redirect row]).</p>
<div id="attachment_1264" style="width: 538px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-handling-redirect-to-error-output.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-1264" class="size-full wp-image-1264" src="//zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-handling-redirect-to-error-output.png" alt="SSIS Component Error Handling - Redirect bad rows to error output (Attach downstream destination)" width="528" height="496" srcset="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-handling-redirect-to-error-output.png 528w, https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-handling-redirect-to-error-output-300x282.png 300w" sizes="(max-width: 528px) 100vw, 528px" /></a><p id="caption-attachment-1264" class="wp-caption-text">SSIS Component Error Handling &#8211; Redirect bad rows to error output (Attach to destination)</p></div>
<h3>View error output records and error message using DataViewer</h3>
<p>If you wish to see which records are bad then you can use DataViewer. Right click on the Red arrow which is connected to downstream and click Enable DataViewer. Now execute your package (or Right click in Data Flow surface and Execute just this DataFlow)</p>
<div id="attachment_1266" style="width: 858px" class="wp-caption alignnone"><a href="//zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-output-dataviewer-view-bad-row.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1266" class="size-full wp-image-1266" src="//zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-output-dataviewer-view-bad-row.png" alt="SSIS Component Error Output - Add data viewer to see bad records and error message" width="848" height="532" srcset="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-output-dataviewer-view-bad-row.png 848w, https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-component-error-output-dataviewer-view-bad-row-300x188.png 300w" sizes="(max-width: 848px) 100vw, 848px" /></a><p id="caption-attachment-1266" class="wp-caption-text">SSIS Component Error Output &#8211; Add data viewer to see bad records and error message</p></div>
<h3>Ignore bad records</h3>
<p>If you simply don&#8217;t care about such errors and want to ignore them rather redirect then Set Error and Truncation options to [Ignore failure] in above step.</p>
<h2>Ignore API Errors : JSON, XML, CSV Source</h2>
<p>If you are using <a href="https://zappysys.com/products/ssis-powerpack/ssis-json-file-source/" target="_blank" rel="noopener">JSON Source</a>, <a href="https://zappysys.com/products/ssis-powerpack/ssis-xml-source/" target="_blank" rel="noopener">XML Source</a> or <a href="https://zappysys.com/products/ssis-powerpack/ssis-csv-file-source-flat-file-web-api/" target="_blank" rel="noopener">CSV Source</a> to call API then you might get Errors for various reason. For example if your URL accepts some parameters and you pass wrong value you might get Page not found (404)  error. In many cases you want to fail this but sometimes you want to continue if specific error is returned. For such case Error Redirect (Explained above) wont work because Error Redirect only happens once data is returned (Successful API call) and Parsing Phase is started, however error like 404 (Page not found) fails component before data can be parsed. To ignore specific Web Errors you can use below options.</p>
<div id="attachment_9157" style="width: 751px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/06/continue-on-web-error-setting.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9157" class="size-full wp-image-9157" src="https://zappysys.com/blog/wp-content/uploads/2017/06/continue-on-web-error-setting.png" alt="Continue on API Error Settings - By Status Code, Message or Any Error" width="741" height="365" srcset="https://zappysys.com/blog/wp-content/uploads/2017/06/continue-on-web-error-setting.png 741w, https://zappysys.com/blog/wp-content/uploads/2017/06/continue-on-web-error-setting-300x148.png 300w" sizes="(max-width: 741px) 100vw, 741px" /></a><p id="caption-attachment-9157" class="wp-caption-text">Continue on API Error Settings &#8211; By Status Code, Message or Any Error</p></div>
<h2>Redirect WebExceptions / Server Error</h2>
<p>There will be a time when you get Server Errors due to bad parameters or other issues. Here is how to redirect error in that condition.</p>
<p>Change the below option (Only available in the newer version)</p>
<div id="attachment_11052" style="width: 752px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-redirect-webexception.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11052" class="size-full wp-image-11052" src="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-redirect-webexception.png" alt="" width="742" height="625" srcset="https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-redirect-webexception.png 742w, https://zappysys.com/blog/wp-content/uploads/2017/06/ssis-redirect-webexception-300x253.png 300w" sizes="(max-width: 742px) 100vw, 742px" /></a><p id="caption-attachment-11052" class="wp-caption-text">Redirect API Webexception</p></div>
<h2>API Error Retry Settings</h2>
<p>When calling API you might get transient error which you need to retry after some time (i.e. when it fails due to API Limit Error). In such case you can use retry settings found on HTTP / OAUTH Connection.</p>
<p>Here is an example of OAuth Connection [Error Retry Settings]
<div id="attachment_7156" style="width: 599px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2018/09/http-retry-settings-oauth-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7156" class="size-full wp-image-7156" src="https://zappysys.com/blog/wp-content/uploads/2018/09/http-retry-settings-oauth-connection.png" alt="Retry Options" width="589" height="429" srcset="https://zappysys.com/blog/wp-content/uploads/2018/09/http-retry-settings-oauth-connection.png 589w, https://zappysys.com/blog/wp-content/uploads/2018/09/http-retry-settings-oauth-connection-300x219.png 300w" sizes="(max-width: 589px) 100vw, 589px" /></a><p id="caption-attachment-7156" class="wp-caption-text">Retry Options</p></div>
<p>The post <a href="https://zappysys.com/blog/ssis-error-handling-in-data-flow-redirect-bad-rows/">SSIS Error Handling – Ignore API Error OR Redirect bad rows</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
