Return Codes and Associated Messages - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

Hereafter the list of error codes sent by AFS Back Office.

  • 400
  • 401
  • 403
  • 404
  • 405
  • 409
  • 413
  • 415
  • 500

For more information about HTTP error codes, see W3C Status Codes Definition.

Hereafter an example of each AFS Back Office associated message.

  • 400

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>400</afs:id>
<afs:message>Bad Request</afs:message>
<afs:code>400</afs:code>
<afs:description>Unknown type bows.view.foobar for property &lt;root&gt;</afs:description>
<afs:details>Unknown type bows.view.toto for property &lt;root&gt;</afs:details>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 401

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>401</afs:id>
<afs:message>Unauthorized</afs:message>
<afs:code>401</afs:code>
<afs:description>Plugin Core Authentication Plugin cannot authenticate request because No
user with login '<login>' and password '<md5_of_password>'.</afs:description>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:login" value="login://antidot:change_on_instal@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 403

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>403</afs:id>
<afs:message>Forbidden</afs:message>
<afs:code>403</afs:code>
<afs:description>The server understood the request, but is refusing to fulfill
it</afs:description>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:parameters/>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 404

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>404</afs:id>
<afs:message>Not Found</afs:message>
<afs:code>404</afs:code>
<afs:description>The server has not found anything matching the request
URI</afs:description>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 405

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>405</afs:id>
<afs:message>Method Not Allowed</afs:message>
<afs:code>405</afs:code>
<afs:description>The method specified in the request is not allowed for the resource
identified by the request URI</afs:description>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 409

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>409</afs:id>
<afs:message>Conflict</afs:message>
<afs:code>409</afs:code>
<afs:description>net.antidot.libraries.dao.exception.DaoConflictException:
org.hibernate.exception.ConstraintViolationException: could not insert:
[net.antidot.anka.model.administration.company.CompanyImpl]</afs:description>
<afs:details>org.hibernate.exception.ConstraintViolationException: could not insert:
[net.antidot.anka.model.administration.company.CompanyImpl]</afs:details>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:no-cache" value="1332336553140"/>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 413

<?xml version="1.0" standalone='yes'?>
<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>413</afs:id>
<afs:message>Request Entity Too Large</afs:message>
<afs:code>413</afs:code>
<afs:description>The server is refusing to process a request because the request entity is larger than the server is willing or able to process</afs:description>
<afs:details>Request Entity Too Large</afs:details>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.14</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters/>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 415

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>415</afs:id>
<afs:message>Unsupported Media Type</afs:message>
<afs:code>415</afs:code>
<afs:description>The server is refusing to service the request because the entity of the
request is in a format not supported by the requested resource for the requested
method</afs:description>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:no-cache" value="1332336553140"/>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>

  • 500

<afs:value
xsi:schemaLocation="http://ref.antidot.net/v7/bo/output http://ref.antidot.net/v7.4/bo/output.xsd"
xsi:type="afs:ws.response" xmlns:afs="http://ref.antidot.net/v7/bo/output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<afs:error xsi:type="afs:ws.information.status">
<afs:id>500</afs:id>
<afs:message>Internal Server Error</afs:message>
<afs:code>500</afs:code>
<afs:description>net.antidot.libraries.dao.exception.DaoRuntimeException:
net.antidot.libraries.dao.exception.DaoNotFoundException: Unable to get object of class
DashboardReply</afs:description>
<afs:details>net.antidot.libraries.dao.exception.DaoNotFoundException: Unable to get object
of class DashboardReply</afs:details>
<afs:specURI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1</afs:specURI>
</afs:error>
<afs:query xsi:type="afs:ws.response.query">
<afs:locale>*</afs:locale>
<afs:parameters>
<afs:parameter name="afs:no-cache" value="1332336553140"/>
<afs:parameter name="afs:login" value="login://antidot:change_on_install@Antidot"/>
</afs:parameters>
<afs:properties xsi:type="afs:dynamic"/>
</afs:query>
</afs:value>