Error Code Table
| Error Code | Reason | Description |
|---|---|---|
| 1001 | Invalid credentials | API Key, URL, or trackingId is missing. |
| 1002 | Invalid URL | The provided URL is invalid. |
| 1003 | Invalid API Key | API Key must be at least 10 characters long. |
| 1101 | Invalid options | guiOptions must be an object. |
| 1102 | Invalid Consent Modal Layout | Consent modal layout must be "box", "box wide", "box inline", "cloud", "cloud inline", "bar", or "bar inline". |
| 1103 | Invalid Consent Modal Position | Consent modal position must be one of the following: "top", "bottom", "middle", "top left", "top center", "top right", "middle left", "middle center", "middle right", "bottom left", "bottom center", or "bottom right". |
| 1104 | Invalid Preferences Modal Layout | Preferences modal layout must be "box", "bar", or "bar wide". |
| 1105 | Invalid Preferences Modal Position | Preferences modal position must be "left" or "right". |
| 1106 | Invalid language | Language must be a string. |
| 1107 | Invalid language | Language must be "vi" or "en". |
| 1108 | Invalid Force Consent option | Force consent must be a boolean value. |
| 1109 | Invalid Dark Mode option | Dark mode option must be a boolean value. |