<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Version 1 (V1) Application Protector API on REST on</title><link>https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/</link><description>Recent content in Version 1 (V1) Application Protector API on REST on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/index.xml" rel="self" type="application/rss+xml"/><item><title>Error Handling for v1 API</title><link>https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/iap_rest_error_handling/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/iap_rest_error_handling/</guid><description>&lt;p>The following table lists the record error handling status codes, which are sent from the server to the client.&lt;/p>
&lt;table>
&lt;tr>
&lt;td>Status Code&lt;/td>&lt;td>Responses&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Success&lt;/td>&lt;td>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;bulk&amp;#34;:{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;success&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;data&amp;#34;:[
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/6&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;success&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;content&amp;#34;:&amp;#34;AGoAZABzAHIAdQBlAGMAagBaAEMAMQAyADMANA==&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:2,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/6&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;success&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;content&amp;#34;:&amp;#34;AGoAZABzAHIAdQBlAGMAagBaAEMAMQAyADMANA==&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Success, with warning&lt;/td>&lt;td>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;bulk&amp;#34;:{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;warning&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;data&amp;#34;:[
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;warning&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;content&amp;#34;:null
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:2,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;warning&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;content&amp;#34;:null
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Error type of log return code&lt;/td>&lt;td>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;bulk&amp;#34;:{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;error&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;data&amp;#34;:[
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;message&amp;#34;:&amp;#34;Data is too short to be protected/unprotected.&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/22&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;error&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:2,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;message&amp;#34;:&amp;#34;Data is too short to be protected/unprotected.&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/22&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;error&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Error type of log return code (different)&lt;/td>&lt;td>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;bulk&amp;#34;:{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;error&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;data&amp;#34;:[
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:1,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;message&amp;#34;:&amp;#34;Data is too short to be protected/unprotected.&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/22&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;error&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;id&amp;#34;:2,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returncode&amp;#34;:&amp;#34;/rest-v1/returncodes/id/6&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;returntype&amp;#34;:&amp;#34;success&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;content&amp;#34;:&amp;#34;AGoAZABzAHIAdQBlAGMAagBaAEMAMQAyADMANA==&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>For more information about the Log Return codes, refer to the section &lt;a href="https://docs.protegrity.com/10.1/docs/troubleshooting/esa_error_handling_trbl/iag_log_return_codes/">Log return codes&lt;/a>.&lt;/p></description></item><item><title>V1 AP REST HTTP Response Codes</title><link>https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/iap_rest_http_response_codes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/rest_container/iap_rest_apis/v1_specification/iap_rest_http_response_codes/</guid><description>&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Error Messages&lt;/th>
 &lt;th>Operation&lt;/th>
 &lt;th>&lt;a href="https://docs.protegrity.com/10.1/docs/troubleshooting/esa_error_handling_trbl/iag_log_return_codes/">Audit Code in Logs&lt;/a>&lt;/th>
 &lt;th>HTTP Response Code&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Failed to decode Base64&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>No audit code generated&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>The content of the input data is not valid&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>44&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Unsupported algorithm or unsupported action for the specific data element&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>26&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Data is too long to be protected/unprotected&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>23&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Data is too short to be protected/unprotected&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>22&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>The user does not have the appropriate permissions to perform the requested operation&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>3&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>The data element could not be found in the policy&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>1&lt;/td>
 &lt;td>401&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>The username could not be found in the policy&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>2&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Data unprotect operation failed. with correlationId &amp;lt;CorrelationID&amp;gt;&lt;/td>
 &lt;td>Unprotect&lt;/td>
 &lt;td>9&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Tweak input is too long. with correlationId &amp;lt;Correlation ID&amp;gt;&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>15&lt;/td>
 &lt;td>200&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Failed to send logs, connection refused ! with correlationId &amp;lt;Correlation ID&amp;gt;&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>51&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Policy not available with correlationId &amp;lt;Correlation ID&amp;gt;&lt;/td>
 &lt;td>&lt;ul>&lt;li>Protect&lt;li>Unprotect&lt;li>Reprotect&lt;/ul>&lt;/td>
 &lt;td>31&lt;/td>
 &lt;td>400&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;!--**Important:** The HTTP response codes generated for the 9.1.0.0 release differ from the ones that are generated for the 7.1 MR4 and 9.0.0.0 releases.--></description></item></channel></rss>