Skip to main content

QuickMark errors

Register a callback with Watermark to handle quickmark/watermark errors.

API

JAVA
/**
  *  Register a callback on Watermark object
  */
public void addErrorListener(WatermarkErrorListener listener);

Application should implement WatermarkErrorListerner while registering .
errorId
Description
Application error handling recommendation
INVALID_TOKEN = 1

INVALID_URL = 2

CANNOT_CONTACT_SERVER = 3

INVALID_SERVER_ANSWER = 4

CANNOT_CONNECT = 5Unable to connect to the Server.No retry
CANNOT_FIND_HOST = 6Unable to find the HOST.No retry
CERTIFICATE_ERROR = 7SSL certificate error for HTTPS.No retry
NETWORK_ERROR = 8

HTTP_CLT_BAD_REQUEST = 9The server returned HTTP 400.No retry
HTTP_CLT_UNAUTHORIZED = 10The server returned HTTP 401.No retry
HTTP_CLT_FORBIDDEN = 11The server returned HTTP 403.No retry
HTTP_OTHER_ERRORS = 12The server returned an HTTP error.No retry
SERVER_TIMEOUT = 13The server took too much time to respond.No retry
INVALID_SERVER_RESPONSE = 14The server response is not valid.No retry
PULL_MODE_INVALID_BLOB = 15Invalid blob received in pull mode.
UPDATE_BLOB_NOT_IN_PUSH_MODE = 20Update blob not in push mode.
PUSH_MODE_INVALID_BLOB = 21Parse blob error.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.