Error codes
AUD-0
Bad Request
The request was not processed due to invalid request. Please ensure the request data is correct.
AUD-1
Resource not found
The requested resource was not found. Please ensure the request path or information is correct.
AUD-2
Service Unavailable
The service is not available possibly due to overloading or maintenance. Please contact support if
error persists.
AUD-3
Bad Gateway
The service was unable to dispatch the request. Please contact support if
error persists.
AUD-4
Internal Server Error
An internal server error was encountered. Please contact support if
error persists.
AUD-5
Gateway Timeout
The service was unable to handle the request in time. Please contact support if
error persists.
AUD-6
Client Side Error
A client side error was encountered. Please ensure the request is valid and follows API specification.
AUD-7
Server Side Error
An unexpected server side error was encountered. Please contact support if
error persists.
AUD-8
Authorization failure
Failed to verify the user. Ensure the authorization process is being followed.
AUD-9
Access denied
The user does not have sufficient permissions to access the resource.
AUD-1201
Profile not found
AUD-1202
Profile locked
The profile is locked so it cannot be used. However, it can be deleted and recreated again.
AUD-1203
Profile update unauthorized
The provided keyspace is not authorized to update the profile.
AUD-1400
Invalid type definition
Received an unexpected field type from a type stored in One. This is a sign of
an invalid account setup or out of sync servers. Please contact support if
error persists.
AUD-1401
Type processing error
Failed to process type definition. Please contact support if error persists.
AUD-1402
No such field
The request contains a reference to a non-existent field.
AUD-1403
Set/List types are not supported
Data types containing an array '[]' marker is currently not supported
AUD-1404
Not a primitive type
Field conditions are only supported on primitive types. The given path points to a node of struct type.
We support section(1).attribute(2).attributeData("fieldLevel1").attributeData("fieldLevel2").eq("string")
but not section(1).attribute(2).attributeData("fieldLevel1").eq("string")
for data type:
{
"fieldLevel1" : {
"fieldLevel2" : "string"
}
}
AUD-1405
Invalid channel communication.
AUD-1406
Invalid requested consent value.
AUD-1407
Channel not found
AUD-1408
Full section access required.
GDPR export is only available for users with access to all sections.
AUD-1409
Callback unreachable.
The provided callback uri is unreachable from the service.
AUD-1410
Unexpected callback response.
The provided callback responded with a non success status code.
AUD-1411
Invalid export key.
The given export key is not in the expected format [a-zA-Z0-9\-]*
.
AUD-1412
Discriminator and version id mismatch in segment AQL reference
The version id belongs to a different segment discriminator than the one provided.
AUD-1413
Account export limit reached
You reached the maximum number of pending export requests for this account. Wait for any running exports to complete before trying this request again.
AUD-1414
Export service limit reached
You reached the shared service limit. Wait and retry later.
AUD-1415
Invalid time zone.
The system failed to parse the time zone you provided.
AUD-1416
Request body validation failed
The request body you provided did not have the expected fields/data.
AUD-1417
Missing timezone
Segmentation needs the time zone as a TZ database identifier in order to resolve possible absolute time conditions.
AUD-1418
Invalid segment definition
The system couldn't compile one or more of the requested segments in AQL format.
AUD-1601
No address to consent
The profile does not have the required address to consent on it.
The email, phone or cookie id attribute depending on consented channel must have a value in the section of the consented topic.
AUD-1602
Consent bad request
The request has invalid data.
AUD-1603
Consent already in pending state
The current consent state is already pending state.
AUD-1604
New consent state is in conflict with the existing state
AUD-1605
New consent state and existing state are the same
AUD-1606
Channel does not support consent
AUD-1607
Topic is bonded to a different channel that does not support this consent
The topic has a channel that is different from the channel provided in the consent request.
AUD-1608
Too many consent updates in a single request
The number of consent updates in the request exceeds the maximum allowed.
AUD-1609
Multiple consent updates for same topic and channel
The request contains conflicting consent updates for the same topic and channel.
AUD-1621
Topic not found
AUD-1622
Topic already exists
AUD-1623
Target not found
Provided target is not found.
AUD-1631
No channel found
AUD-1632
Channel already exists
AUD-1703
Keyspace not found
AUD-1710
Unknown section
AUD-1712
Event not found
AUD-1713
Attribute not found
AUD-1714
Type definition is mandatory
The type information must be submitted in the request.
AUD-1715
Invalid type definition
The type definition submitted does not conform to the API specification.
AUD-1716
Only one active version is allowed
There already exists an active version for the type. You must deprecate the current
active version before promoting a new version.
AUD-1717
Failed to create type
Failed to create the resource type. Please contact support if error persists.
AUD-1718
Unsupported render hint and type
The combination of render hint and type is not supported.
AUD-1719
Type with conflicting definition exists
A type with same discriminator but different specification exists
AUD-1720
Render hint is not supported
Render hint is not supported. You may use one of the primitive types having predefined render hint.
AUD-1721
Authentication flow is not allowed
The authentication flow is not supported.
AUD-2700
Unexpected start of expression
Unexpected start of expression, could not complete the expression or start a new
term.
AUD-2701
Invalid section specifier
Invalid section specifier. Expected a natural number matching the id of the
data section.
Expected syntax:
section(2345)
AUD-2702
Invalid attribute specifier
Invalid attribute specifier. Expected a natural number matching the version id
of the target attribute.
Expected syntax:
section(2345).attribute(6789)
AUD-2703
Section specifier should be an integer
Only section ids (natural numbers) are valid as section specifiers not section
name or discriminators
Expected syntax:
section(2345)
AUD-2704
Expected a section id
Expected a section id: section(1)
AUD-2705
Expected zero or more attribute field specifiers
Expected zero or more attribute field specifiers .attributeData("field")
followed by field data conditions or end of term.
AUD-2706
Unexpected token
Unexpected token, did you mean one of:[end of expression, &&
, ||
,
.attributeData
or data conditions(.eq
,.lt
...)]?
AUD-2707
Invalid attribute id
Only attribute version ids (natural numbers) are valid as attribute specifiers
not attribute names or discriminators
Expected syntax:
section(2345).attribute(6789)
Invalid syntax:
section(2345).attribute("6789")
section(2345).attribute("section name")
section(2345).attribute("com.apsis1.section.discriminator")
AUD-2708
Missing attribute specifier
Missing attribute specifier .attribute(id)
after section(id)
Expected syntax:
section(2345).attribute(6789).attributeData("field").eq("value")
Invalid syntax:
section(2345).attributeData("field").eq("value")
AUD-2709
Missing event specifier
Missing event specifier .event(id)
after section(id)
Expected syntax:
section(2345).event(6789).eventData("field").eq("value")
Invalid syntax:
section(2345).eventData("field").eq("value")
AUD-2710
Unexpected token
Unexpected token, did you mean one of: [end of expression, &&
, ||
,
.eventData
or data conditions(.eq
,.lt
...)]?
AUD-2711
Error parsing event field specifiers
Expected zero or more event field specifiers .eventData("field")
followed by
field data conditions or end of term.
AUD-2712
Invalid event specifier
Invalid event specifier. Expected a natural number matching the version id of
the target event.
AUD-2713
Invalid event specifier
Only event version ids (natural numbers) are valid as event specifiers not event
names or discriminators
Expected syntax:
section(2345).event(6789)
Invalid syntax:
section(2345).event("6789")
section(2345).event("section name")
section(2345).event("com.apsis1.section.discriminator")
AUD-2714
Invalid attribute expression
Expected attributeData selectors not eventData for attribute expressions
Expected syntax:
section(2345).attribute(6789).attributeData("fieldName")
Invalid syntax:
section(2345).attribute(6789).eventData("fieldName")
AUD-2715
Invalid field specifier
Fields are specified using string literals
AUD-2716
Invalid field specifier
Fields are specified using string literals, missing or unmatched double quotes
AUD-2717
Invalid attribute expression
Expected attributeData selectors not eventData for attribute expressions
AUD-2718
Invalid event expression
Expected eventData selectors not attributeData for event expressions
Expected syntax:
section(2345).event(6789).eventData("fieldName")
Invalid syntax:
section(2345).event(6789).attributeData("fieldName")
AUD-2719
Missing field condition
Condition (.eq
, .lt
, etc) missing for specified field
AUD-2720
Invalid parameter
Expected string constant "value"
AUD-2721
Invalid parameter
Expected a number
AUD-2722
Syntax error
Expression does not follow AQL syntax rules
AUD-2723
Syntax error
Syntax error, expected one of [minute
, hour
, day
, week
, month
]
AUD-2724
Syntax error
Expected a date [YYYY-MM-DD] or a date time [YYYY-MM-DD HH:MM:SS]
AUD-2725
Negative frequency
Frequency must be a positive integer
AUD-2726
Invalid frequency
Expected a positive integer
AUD-2727
InLast error
Expected syntax .inLast("events.{minute, hour, day, week, month}", 3, 0)
AUD-2728
BetweenDates error
Expected syntax .betweenDates("events","1970-01-01", "1970-01-01")
AUD-2729
Unexpected parse error
Failed to parse AQL expression
AUD-2730
Operator not applicable to type
Indicate the use of, for example, an integer condition on a string field.
AUD-2900
Invalid account id
Invalid format for the provided account id. Maybe the account name was supplied
instead of the id?
AUD-2901
Invalid keyspace id
Expected a positive integer for keyspace id.
AUD-2902
Unacceptable audience
The audience of the JWT is not recognized by this service
AUD-2903
Not authorized for the account
The authorization header is authenticated for a different account than that of the requested resource
AUD-2904
Missing authorization header
Request should have a signed bearer token passed in the authorization header
AUD-2905
Invalid authorization header prefix
The authorization header is expected to start with bearer
AUD-2906
Invalid authorization header
The value in the authorization header could not be decoded
AUD-2907
Unauthorized for keyspace
Access denied for keyspace used in request
AUD-2908
Unauthorized for section
Access to the requested section was denied.
AUD-2909
Expired authorization token
The signed authorization header has expired and must be renewed before the request can be retried.
AUD-2910
Invalid section id
Expected a positive integer for section id.
AUD-3100
Invalid Sec-WebSocket-Protocol
The system couldn't parse the Sec-WebSocket-Protocol value to int64.
AUD-3101
Expired Sec-WebSocket-Protocol token
The token in the Sec-WebSocket-Protocol header is either invalid or has expired.
AUD-3102
Unknown proxy path
The proxy address does not match any connected client.