<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>REST API Component on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/</link><description>Recent content in REST API Component on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/index.xml" rel="self" type="application/rss+xml"/><item><title>REST API - Export violations - Fatal Error - Internal Server Error</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/rest-api-export-violations-fatal-error-internal-server-error/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/rest-api-export-violations-fatal-error-internal-server-error/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose (problem description)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page will help to solve the issue of &amp;ldquo;Internal Server Error&amp;rdquo; which is a Fatal Error received when exporting the list of violations.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/TG/attachments/566537244/566537243.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Observed in CAST Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;8.3.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Observed in RDBMS&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;RDBMS&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CSS&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step Scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Connect to Rest API&lt;/li&gt;
&lt;li&gt;Export violations&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Action Plan&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Perform the below actions&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check if there are objects computed by quality rules but not part of objects scope, for this refer to the following page - &lt;a href="https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-central-base/sql-queries-cast-central-base-checking-and-removing-corruptions-in-cb/sql-queries-cast-central-base-corruptions-on-objects-how-to-list-objects-computed-by-quality-rules-but-not-part-of-module/"&gt;SQL Queries - CAST Central Base - Corruptions on Objects - How to list objects computed by Quality rules but not part of module&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;If there are objects computed by quality rules but not part of objects scope, then:
&lt;ol&gt;
&lt;li&gt;Check if there is a prior snapshot deleted after computing the current snapshot, for this refer to &lt;a href="https://doc.castsoftware.com/export-v2/tg/sql-queries/sql-queries-cast-central-base/sql-queries-cast-central-base-sql-queries-on-snapshots/sql-queries-cast-central-base-queries-on-snapshots-how-to-get-the-history-of-creation-and-deletion-of-snapshots/"&gt;SQL Queries - CAST Central Base - Queries on snapshots - How to get the history of creation and deletion of snapshots&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;If yes then perform the following:
&lt;ol&gt;
&lt;li&gt;Delete the current snapshot&lt;/li&gt;
&lt;li&gt;Compute snapshot by skipping analysis (it will take the snapshot ID of the snapshot deleted previously)&lt;/li&gt;
&lt;li&gt;Connect to Rest API&lt;/li&gt;
&lt;li&gt;Export violationsNote that this issue is fixed in 8.2.13 and 8.3.6&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Else contact &lt;a href="https://help.castsoftware.com/hc/en-us/requests/new"&gt;CAST Technical Support&lt;/a&gt;. with the following &lt;a href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/"&gt;Relevant Input&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Else if there are no objects computed by quality rules but not part of objects scope then contact &lt;a href="https://help.castsoftware.com/hc/en-us/requests/new"&gt;CAST Technical Support&lt;/a&gt;. with the following &lt;a href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/rest-api-component/"&gt;Relevant Input&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>