Error codes - and what it means

Here is now a full list with all error codes that current exist.
Maybe it can help you to know more about the error reason in your apps.

ERROR_FUNCTIONALITY_NOT_SUPPORTED_CONTACT_EMAIL = 1;
ERROR_FUNCTIONALITY_NOT_SUPPORTED_EMAIL_PICKER = 2;
ERROR_FUNCTIONALITY_NOT_SUPPORTED_FUSIONTABLES_CONTROL = 3;
ERROR_FUNCTIONALITY_NOT_SUPPORTED_WEB_COOKIES = 4;
ERROR_FUNCTIONALITY_NOT_SUPPORTED_WIFI_DIRECT = 5;

// LocationSensor errors

ERROR_LOCATION_SENSOR_LATITUDE_NOT_FOUND = 101;
ERROR_LOCATION_SENSOR_LONGITUDE_NOT_FOUND = 102;
ERROR_LOCATION_NO_PERMISSION = 103;

// Camera errors

ERROR_CAMERA_NO_IMAGE_RETURNED = 201;
ERROR_NO_CAMERA_PERMISSION = 202;

// Twitter errors

ERROR_TWITTER_UNSUPPORTED_LOGIN_FUNCTION = 301;
ERROR_TWITTER_BLANK_CONSUMER_KEY_OR_SECRET = 302;
ERROR_TWITTER_EXCEPTION = 303;
ERROR_TWITTER_UNABLE_TO_GET_ACCESS_TOKEN = 304;
ERROR_TWITTER_AUTHORIZATION_FAILED = 305;
ERROR_TWITTER_SET_STATUS_FAILED = 306;
ERROR_TWITTER_REQUEST_MENTIONS_FAILED = 307;
ERROR_TWITTER_REQUEST_FOLLOWERS_FAILED = 308;
ERROR_TWITTER_REQUEST_DIRECT_MESSAGES_FAILED = 309;
ERROR_TWITTER_DIRECT_MESSAGE_FAILED = 310;
ERROR_TWITTER_FOLLOW_FAILED = 311;
ERROR_TWITTER_STOP_FOLLOWING_FAILED = 312;
ERROR_TWITTER_REQUEST_FRIEND_TIMELINE_FAILED = 313;
ERROR_TWITTER_SEARCH_FAILED = 314;
ERROR_TWITTER_INVALID_IMAGE_PATH = 315;

// LegoMindstormsNXT errors

ERROR_NXT_BLUETOOTH_NOT_SET = 401;
ERROR_NXT_NOT_CONNECTED_TO_ROBOT = 402;
ERROR_NXT_INVALID_RETURN_PACKAGE = 403;
ERROR_NXT_ERROR_CODE_RECEIVED = 404;
ERROR_NXT_INVALID_PROGRAM_NAME = 405;
ERROR_NXT_INVALID_FILE_NAME = 406;
ERROR_NXT_INVALID_MOTOR_PORT = 407;
ERROR_NXT_INVALID_SENSOR_PORT = 408;
ERROR_NXT_INVALID_MAILBOX = 409;
ERROR_NXT_MESSAGE_TOO_LONG = 410;
ERROR_NXT_DATA_TOO_LARGE = 411;
ERROR_NXT_COULD_NOT_DECODE_ELEMENT = 412;
ERROR_NXT_COULD_NOT_FIT_ELEMENT_IN_BYTE = 413;
ERROR_NXT_INVALID_SOURCE_ARGUMENT = 414;
ERROR_NXT_INVALID_DESTINATION_ARGUMENT = 415;
ERROR_NXT_UNABLE_TO_DOWNLOAD_FILE = 416;
ERROR_NXT_CANNOT_DETECT_COLOR = 417;
ERROR_NXT_CANNOT_DETECT_LIGHT = 418;
ERROR_NXT_INVALID_GENERATE_COLOR = 419;

// Bluetooth errors

ERROR_BLUETOOTH_NOT_AVAILABLE = 501;
ERROR_BLUETOOTH_NOT_ENABLED = 502;
ERROR_BLUETOOTH_INVALID_ADDRESS = 503;
ERROR_BLUETOOTH_NOT_PAIRED_DEVICE = 504;
ERROR_BLUETOOTH_NOT_REQUIRED_CLASS_OF_DEVICE = 505;
ERROR_BLUETOOTH_INVALID_UUID = 506;
ERROR_BLUETOOTH_UNABLE_TO_CONNECT = 507;
ERROR_BLUETOOTH_UNABLE_TO_LISTEN = 508;
ERROR_BLUETOOTH_UNABLE_TO_ACCEPT = 509;
ERROR_BLUETOOTH_COULD_NOT_DECODE = 510;
ERROR_BLUETOOTH_COULD_NOT_FIT_NUMBER_IN_BYTE = 511;
ERROR_BLUETOOTH_COULD_NOT_FIT_NUMBER_IN_BYTES = 512;
ERROR_BLUETOOTH_COULD_NOT_DECODE_ELEMENT = 513;
ERROR_BLUETOOTH_COULD_NOT_FIT_ELEMENT_IN_BYTE = 514;
ERROR_BLUETOOTH_NOT_CONNECTED_TO_DEVICE = 515;
ERROR_BLUETOOTH_UNABLE_TO_WRITE = 516;
ERROR_BLUETOOTH_UNABLE_TO_READ = 517;
ERROR_BLUETOOTH_END_OF_STREAM = 518;
ERROR_BLUETOOTH_UNSUPPORTED_ENCODING = 519;

// ActivityStarter errors

ERROR_ACTIVITY_STARTER_NO_CORRESPONDING_ACTIVITY = 601;
ERROR_ACTIVITY_STARTER_NO_ACTION_INFO = 602;

// Media errors

ERROR_UNABLE_TO_LOAD_MEDIA = 701;
ERROR_UNABLE_TO_PREPARE_MEDIA = 702;
ERROR_UNABLE_TO_PLAY_MEDIA = 703;
ERROR_MEDIA_EXTERNAL_STORAGE_READONLY = 704;
ERROR_MEDIA_EXTERNAL_STORAGE_NOT_AVAILABLE = 705;
ERROR_MEDIA_IMAGE_FILE_FORMAT = 706;
ERROR_MEDIA_CANNOT_OPEN = 707;
ERROR_MEDIA_FILE_ERROR = 708;
ERROR_UNABLE_TO_FOCUS_MEDIA = 709;
ERROR_SOUND_NOT_READY = 710;
ERROR_OUT_OF_MEMORY_LOADING_MEDIA = 711;
ERROR_PLAYER_INVALID_VOLUME = 712;

// SoundRecorder errors

ERROR_SOUND_RECORDER = 801;
ERROR_SOUND_RECORDER_CANNOT_CREATE = 802;
ERROR_SOUND_RECORDER_ILLEGAL_STOP = 803;
ERROR_SOUND_RECORDER_MAX_DURATION_REACHED = 804;
ERROR_SOUND_RECORDER_MAX_FILESIZE_REACHED = 805;
ERROR_SOUND_NO_PERMISSION = 806;

// Form errors

ERROR_INVALID_SCREEN_ORIENTATION = 901;
ERROR_SCREEN_NOT_FOUND = 902;
ERROR_SCREEN_BAD_VALUE_RECEIVED = 903;
ERROR_SCREEN_BAD_VALUE_FOR_SENDING = 904;
ERROR_SCREEN_INVALID_ANIMATION = 905;
ERROR_NO_FOCUSABLE_VIEW_FOUND = 906;
ERROR_PERMISSION_DENIED = 908;

// Canvas errors

ERROR_CANVAS_BITMAP_ERROR = 1001;
ERROR_CANVAS_WIDTH_ERROR = 1002;
ERROR_CANVAS_HEIGHT_ERROR = 1003;
ERROR_CANVAS_DRAW_SHAPE_BAD_ARGUMENT = 1004;

// Web errors

ERROR_WEB_UNABLE_TO_GET = 1101;
ERROR_WEB_UNSUPPORTED_ENCODING = 1102;
ERROR_WEB_UNABLE_TO_POST_OR_PUT = 1103;
ERROR_WEB_UNABLE_TO_POST_OR_PUT_FILE = 1104;
ERROR_WEB_JSON_TEXT_DECODE_FAILED = 1105;
ERROR_WEB_HTML_TEXT_DECODE_FAILED = 1106;

// There is a gap here because two ContactPicker errors below use the numbers 1107 and 1108.

ERROR_WEB_MALFORMED_URL = 1109;
ERROR_WEB_REQUEST_HEADER_NOT_LIST = 1110;
ERROR_WEB_REQUEST_HEADER_NOT_TWO_ELEMENTS = 1111;
ERROR_WEB_BUILD_REQUEST_DATA_NOT_LIST = 1112;
ERROR_WEB_BUILD_REQUEST_DATA_NOT_TWO_ELEMENTS = 1113;
ERROR_WEB_UNABLE_TO_DELETE = 1114;
ERROR_WEB_XML_TEXT_DECODE_FAILED = 1115;

// Contact picker (and PhoneNumberPicker) errors

ERROR_PHONE_UNSUPPORTED_CONTACT_PICKER = 1107;
ERROR_PHONE_UNSUPPORTED_SEARCH_IN_CONTACT_PICKING = 1108;
ERROR_NO_READ_CONTACTS_PERMISSION = 1116; // Note Gap in numbers

// Camcorder errors

ERROR_CAMCORDER_NO_CLIP_RETURNED = 1201;

// VideoPlayer errors

ERROR_VIDEOPLAYER_FULLSCREEN_UNAVAILBLE = 1301;
ERROR_VIDEOPLAYER_FULLSCREEN_CANT_EXIT = 1302;
ERROR_VIDEOPLAYER_FULLSCREEN_UNSUPPORTED = 1303;

// Arrangement errors

ERROR_BAD_VALUE_FOR_HORIZONTAL_ALIGNMENT = 1401;
ERROR_BAD_VALUE_FOR_VERTICAL_ALIGNMENT = 1402;

// BarcodeScanner errors

ERROR_NO_SCANNER_FOUND = 1501;

// Picker errors

ERROR_CANNOT_SAVE_IMAGE = 1601;
ERROR_CANNOT_COPY_MEDIA = 1602;
ERROR_CANNOT_SAVE_VIDEO = 1603;
ERROR_CANNOT_SAVE_AUDIO = 1604;

// Texting errors

ERROR_BAD_VALUE_FOR_TEXT_RECEIVING = 1701;
ERROR_NO_SMS_PERMISSION = 1702;
ERROR_NO_SMS_RECEIVE_PERMISSION = 1703;

// Repl Communication Errors

ERROR_REPL_SECURITY_ERROR = 1801;

// AccelerometerSensor Errors

ERROR_BAD_VALUE_FOR_ACCELEROMETER_SENSITIVITY = 1901;

//Sharing Errors

ERROR_FILE_NOT_FOUND_FOR_SHARING = 2001;

// File errors

ERROR_CANNOT_FIND_FILE = 2101;
ERROR_CANNOT_READ_FILE = 2102;
ERROR_CANNOT_CREATE_FILE = 2103;
ERROR_CANNOT_WRITE_TO_FILE = 2104;
ERROR_CANNOT_DELETE_ASSET = 2105;
ERROR_CANNOT_WRITE_ASSET = 2106;

// Yandex.Translate errors

ERROR_TRANSLATE_NO_KEY_FOUND = 2201;
ERROR_TRANSLATE_SERVICE_NOT_AVAILABLE = 2202;
ERROR_TRANSLATE_JSON_RESPONSE = 2203;

// TimePicker errors

ERROR_ILLEGAL_HOUR = 2301;
ERROR_ILLEGAL_MINUTE = 2302;

// DatePicker errors

ERROR_ILLEGAL_DATE = 2401;

// WebViewer errors

ERROR_WEBVIEW_SSL_ERROR = 2501;

//FusiontablesControl errors

FUSION_TABLES_QUERY_ERROR = 2601;

//TextToSpeech errors

ERROR_TTS_NOT_READY = 2701;

// AndroidViewComponent errors

ERROR_BAD_PERCENT = 2801;

// 2901-2999 are reserved for FIRST Tech Challenge.

// Image errors

ERROR_IMAGE_CANNOT_ROTATE = 3001;

// Google Map Errors

ERROR_GOOGLE_MAP_NOT_INSTALLED = 12010;
ERROR_GOOGLE_PLAY_NOT_INSTALLED = 12011;
ERROR_GOOGLE_MAP_INVALID_INPUT = 12012;
ERROR_GOOGLE_MAP_MARKER_NOT_EXIST = 12013;
ERROR_GOOGLE_MAP_JSON_FORMAT_DECODE_FAILED = 12014;
ERROR_GOOGLE_MAP_CIRCLE_NOT_EXIST = 12015;
ERROR_GOOGLE_PLAY_SERVICE_UPDATE_REQUIRED = 12016;
ERROR_GOOGLE_PLAY_DISABLED = 12017;
ERROR_GOOGLE_PLAY_INVALID = 12018;
ERROR_GOOGLE_MAP_INVALID_STYLE_JSON = 12019;
ERROR_GOOGLE_MAP_INVALID_THEME = 12020;

// LegoMindstormsEv3 errors

ERROR_EV3_BLUETOOTH_NOT_SET = 3100;
ERROR_EV3_NOT_CONNECTED_TO_ROBOT = 3101;
ERROR_EV3_INVALID_REPLY = 3102;
ERROR_EV3_ILLEGAL_ARGUMENT = 3103;
ERROR_EV3_ILLEGAL_MOTOR_PORT = 3104;
ERROR_EV3_ILLEGAL_SENSOR_PORT = 3105;

// Form errors that are signalled in runtime.scm

ERROR_DIVISION_BY_ZERO = 3200;

// Extension errors are signalled from extensions

ERROR_EXTENSION_ERROR = 3300;

// Map errors

ERROR_LINESTRING_TOO_FEW_POINTS = 3401;
ERROR_LINESTRING_PARSE_ERROR = 3402;
ERROR_LINESTRING_TOO_FEW_FIELDS = 3403;
ERROR_POLYGON_PARSE_ERROR = 3404;
ERROR_INVALID_POINT = 3405;
ERROR_INVALID_POINT_AT_INDEX = 3406;
ERROR_INVALID_TYPE_AT_INDEX = 3407;
ERROR_INVALID_NUMBER_OF_VALUES_IN_POINT_AT_INDEX = 3408;
ERROR_INVALID_NUMBER_OF_VALUES_IN_POINT = 3409;
ERROR_INVALID_TYPE = 3410;
ERROR_INVALID_GEOJSON = 3411;
ERROR_EXCEPTION_DURING_MAP_SAVE = 3412;
ERROR_INVALID_LATITUDE = 3413;
ERROR_INVALID_LONGITUDE = 3414;
ERROR_UNABLE_TO_CREATE_TILE_CACHE = 3415;
ERROR_INVALID_ANCHOR_VERTICAL = 3416;
ERROR_INVALID_ANCHOR_HORIZONTAL = 3417;
ERROR_INVALID_LATITUDE_IN_POINT_AT_INDEX = 3418;
ERROR_INVALID_LONGITUDE_IN_POINT_AT_INDEX = 3419;
ERROR_EXPECTED_ARRAY_AT_INDEX = 3420;
ERROR_INVALID_UNIT_SYSTEM = 3421;

// Phone Call Errors

ERROR_NO_CALL_PERMISSION = 3501;

// REPL Errors

ERROR_UNABLE_TO_INSTALL_PACKAGE = 3601;
18 Likes

This is very useful. please in your own good time do add Admob Error codes for the various component as well as the other monetization components error codes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.