Error codes

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-1601

No address to consent

The profile does not have the required address to consent on it.

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 than the channel provided in the consent request.

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-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.