graphql-engine/docs/graphql/manual/api-reference/schema-metadata-api/dataerrors.csv
2018-10-08 19:42:03 +05:30

4.2 KiB

1Status CodeCodeError
2400postgres-errorNot-NULL violation. null value in column <column-name> violates not-null constraint
3400permission-deniedselect on <column/table> for role <role-name> is not allowed.
4400not-existstable <table-name> does not exist
5400not-existsno such table/view exists in postgres : <table-name>
6400not-exists<field-name> does not exist
7400already-trackedview/table already tracked : <table-name>
8400access-deniedrestricted access : admin only
9400not-supportedtable renames are not yet supported : <table-name>
10400not-exists<column-name> does not exist
11400already-existscannot add column <column-name> in table <table-name> as a relationship with the name already exists
12400invalid-jsoninvalid json
13400not-supportedcolumn renames are not yet supported : <table-name>.<column-name>
14400invalid-headersmissing header : <header-name>
15400dependency-errorcannot change type of column <column-name> in table <table-name> because of the following dependencies : <dependencies>
16400invalid-headersX-Hasura-User-Id should be an integer
17400dependency-errorcannot drop due to the following dependent objects : <dependencies>
18400access-deniedYou have to be admin to access this endpoint
19400parse-failedparsing dotted table failed : <table-name>
20400access-deniednot authorised to access this tx
21400already-existsmultiple declarations exist for the following <table-name> : <duplicates>
22400not-existstx does not exists
23400already-existscolumn/relationship of table <table-name> already exists
24400already-initialisedthe state seems to be initialised already. \ \ you may need to migrate from this version: <catalog-version>
25400constraint-errorno foreign constraint exists on the given column
26400not-supportedunsupported version : <catalog-version>
27400constraint-errormore than one foreign key constraint exists on the given column
28400already-existsthe query template already exists <template-name>
29400permission-error<permission-type>' permission on <table-name> for role <role-name> already exists
30400permission-error<permission-type>' permission on <table-name> for role <role-name> does not exist
31400unexpected-payloadUnknown operator : <operator-type>
32400unexpected-payloadexpecting a string for column operator
33400unexpected-payloadincompatible column types : '<column-name>', '<column-name>'
34400unexpected-payloadExpecting 'constraint' or 'constraint_on' when the 'action' is 'update'
35400unexpected-payloadconstraint' and 'constraint_on' cannot be set at a time
36400unexpected-payloadupsert is not allowed for role '<role-name>'
37400unexpected-payloadobjects should not be empty
38400invalid-paramsmissing parameter : <param-name>
39400unexpected-payloadcan't be empty
40400<col-name>' is a relationship and should be expanded
41400unexpected-payload<column-name>' should be included in 'columns'
42400unexpected-payload<column-name>' is an array relationship and can't be used in 'order_by'
43400<column-name>' is a Postgres column and cannot be chained further
44400unexpected-payloadorder_by array should not be empty
45400unexpected-payloadwhen selecting an 'obj_relationship' 'where', 'order_by', 'limit' and 'offset' can't be used
46400unexpected-payloadatleast one of $set, $inc, $mul has to be present
47400permission-denied<permission-type> on <table-name> for role <role-name> is not allowed
48400not-existsno such column exists : <column-name>
49400permission-deniedrole <role-name> does not have permission to <permission-type> column <column-name>
50400expecting a postgres column; but, <name> is relationship
51400unexpected-payloadJSON column can not be part of where clause
52400unexpected-payloadis of type <type-name>; this operator works only on column of types <[types]>
53400postgres-errorquery execution failed
54500unexpectedunexpected dependency of relationship : <dependency>
55500unexpectedunexpected dependent object : <dependency>
56500unexpectedfield already exists
57500unexpectedfield does not exist
58500unexpectedpermission does not exist
59500postgres-errorpostgres transaction error
60500postgres-errorconnection error
61500postgres-errorpostgres query error
62404not-foundNo such resource exists