Home Windows Apps Phone Apps Bespoke Contact Privacy

professor cad logo

Christopher J Ward
Engineer & Software
Developer


App Inventor Error Codes

App Inventor Developers:
When your App receives an Error Code, it needs to handle the error as gracefully as possible, keeping the User informed when necessary. Place holders shown below such as %s or %1$d will be replaced by text when you get the error in your App.

Scroll to the bottom of this page for HTTP Status Codes.


Numerical Order

Codes 100+ Codes 200+ Codes 300+ Codes 400+ Codes 500+ Codes 600+ Codes 700+ Codes 800+ Codes 900+ Codes 1000+ Codes 1100+ Codes 1200+ Codes 1300+ Codes 1400+ Codes 1500+ Codes 1600+ Codes 1700+ Codes 1800+ Codes 1900+ Codes 2000+ Codes 2100+ Codes 2200+ Codes 2300+ Codes 2400+ Codes 2500+ Codes 2600+ Codes 2700+ Codes 2800+ Codes 3000+ Codes 3100+ Codes 3200+ Codes 3300+ Codes 3400+
Codes: Alphabetical Order HTTP Status Codes

Phone version

NumberMessage
1Warning: This app contains functionality that does not work on this phone: Picking an EmailAddress
2Warning: This app contains functionality that does not work on this phone: The EmailPicker component
3Warning: This app contains functionality that does not work on this phone: The FusiontablesControl component
4Warning: This app contains functionality that does not work on this phone: Using cookies in the Web component
5Warning: This app contains functionality that does not work on this phone: Wi-Fi peer-to-peer connectivity

Location Sensor

NumberMessage
101 Unable to find latitude from %s
102Unable to find longitude from %s

Camera

NumberMessage
201The Camera did not return an Image

Twitter

NumberMessage
301Twitter no longer supports this form of Login. Use the Authorize call instead
302The Consumer Key and Consumer Secret properties must be set in order to authorize access for Twitter. Please obtain a Consumer Key and Consumer Secret specific to your app from: Twitter Oauth New Clients Note: If you do not have a Twitter Developer Account, this link should divert you to the account application page.
303Twitter error: %s
304Unable to get access token: %s
305Twitter authorization failed
306SetStatus failed. %s
307Request Mentions failed. %s
308Request Followers failed. %s
309Request Direct Messages failed. %s
310Direct Message failed. %s
311Follow failed. %s
312Stop Following failed. %s
313Twitter Request Friend Time line failed: %s
314Twitter search failed
315Invalid Path to Image; Update will not be sent

Lego Mindstorms NXT

NumberMessage
401The Bluetooth property has not been set
402Not connected to a robot
403Unable to receive return package. Has the robot gone to sleep?
404Error code received from robot: %s
405Invalid program name
406Invalid file name
407The NXT does not have a motor port labeled %s
408The NXT does not have a sensor port labeled %s
409The NXT does not have a mailbox number %s
410The NXT only accepts messages up to 58 characters
411The data is too large; it must be 16 bytes or less
412Could not decode element %s as an integer
413Could not fit element %s into 1 byte
414Invalid source argument
415Invalid destination argument
416Unable to download file to robot: %s
417Cannot detect color when the Detect Color property is set to False
418Cannot detect light level when the Detect Color property is set to True
419The Generate Color property is limited to None, Red, Green, or Blue

Bluetooth

NumberMessage
501Bluetooth is not available
502Bluetooth is not available
503The specified address is not a valid Bluetooth MAC address
504The specified address is not a paired Bluetooth device
505The specified address is not the required class of device
506The UUID %s is not formatted correctly
507Unable to connect. Is the device turned on?
508Unable to listen for a connection from a bluetooth device
509Unable to accept a connection from a bluetooth device
510Could not decode %s as an integer
511Could not fit %s into 1 byte
512Could not fit %s into %s bytes
513Could not decode element %s as an integer
514Could not fit element %s into 1 byte
515Not connected to a Bluetooth device
516Unable to write: %s
517Unable to read: %s
518End of stream has been reached
519The encoding %s is not supported.

Activity Starter

NumberMessage
601No corresponding activity was found
602No Action information in Activity Starter was found

Media

NumberMessage
701Unable to load %s
702Unable to prepare %s
703Unable to play %s
704External storage is available but read-only
705External storage is not available
706Image file name must end in .jpg, .jpeg, or .png
707Cannot open file %s
708Got file error: %s
709Unable to grant exclusive lock of audio output stream to %s
710The sound is not ready to play: %s
711Not Enough Memory to load: %s
712Invalid volume: %s. Volume must be set to a number between 0 and 100

Sound Recorder

NumberMessage
801An unexpected error occurred while recording sound
802Cannot start recording: %s
803Stop() called when not recording
804Maximum sound recording duration was reached
805Maximum sound recording size was reached

Form

NumberMessage
901The specified screen orientation is not valid: %s
902Screen not found: %s
903Bad value received from other screen: %s
904Bad value for sending to other screen: %s
905Bad value for screen open/close animation: %s
906No Focusable View Found
907ActionBar is not supported on this device

Canvas

NumberMessage
1001Error getting Canvas contents to save
1002Canvas width cannot be set to non-positive number
1003Canvas height cannot be set to non-positive number

Web

NumberMessage
1101Unable to get a response with the specified URL: %s
1102The encoding %s is not supported
1103Unable to post or put the text \%s\ with the specified URL: %s
1104Unable to post or put the file \%s\ with the specified URL: %s
1105Unable to decode the JSON text: %s
1106Unable to decode the HTML text: %s
----There is a gap here because Contact Picker errors use the numbers 1107 and 1108
1109Unable to decode the XML text: %s
1110The specified URL is not valid: %s
1111The specified request headers are not valid: element %s is not a list
1112The specified request headers are not valid: element %s does not contain two elements
1113Unable to build request data: element %s is not a list
1114Unable to build request data: element %s does not contain two elements
1115Unable to delete a resource with the specified URL: %s

Contact and Phone Number Picker

NumberMessage
1107The software used in this app cannot extract contacts from this type of phone
1108To pick contacts, pick them directly, without using search

Camcorder

NumberMessage
1201The camcorder did not return a clip

Video Player

NumberMessage
1301Cannot start fullscreen mode
1302Cannot exit fullscreen mode
1303Fullscreen mode not supported on this version of Android

Arrangement

NumberMessage
1401The value -- %s -- provided for Horizontal Alignment was bad. The only legal values are 1, 2, or 3
1402The value -- %s -- provided for Vertical Alignment was bad. The only legal values are 1, 2, or 3

Barcode Scanner

NumberMessage
1501Your device does not have a scanning application installed.

Image Picker

NumberMessage
1601Unable to save image: %s
1602Unable to copy selected media: %s

Texting

NumberMessage
1701Text Receiving should be either 1, 2 or 3

App Inventor Communication

NumberMessage
1801Security Error Receiving Blocks from Browser

Accelerometer Sensor

NumberMessage
1901The value -- %s -- provided for Accelerometer Sensor's sensitivity was bad. The only legal values are 1, 2, or 3

Sharing

NumberMessage
2001The File %s could not be found on your device

File

NumberMessage
2101The file %s could not be found
2102The file %s could not be opened
2103The file %s could not be created
2104Cannot write to file %s
2105Cannot delete asset file at %s
2106Cannot write asset file at %s

Yandex Translate

NumberMessage
2201Missing API key for the Yandex.Translate service
2202The translation service is not available; Please try again later
2203The response from the Yandex.Translate service cannot be parsed; Please try again later

Time Picker

NumberMessage
2301The hour must be set to a value between 0 and 23
2302The minute must be set to a value between 0 and 59

Date Picker

NumberMessage
2401The date entered is invalid

Web Viewer

NumberMessage
2501SSL Connection could not complete

Fusion Tables Control

NumberMessage
2601Fusion tables returned an error. The query was: %s. The response was: %s

Text To Speech

NumberMessage
2701TextToSpeech is not yet ready to perform this operation

Android View Component

NumberMessage
2801Percent values should be between 0 and 100.

Image

NumberMessage
3001The version of Android on this device does not support image rotation.

Lego Mindstorms Ev3

NumberMessage
3100The Bluetooth property has not been set
3101Cannot connect to an EV3 robot. Has the robot gone to sleep?
3102Unable to receive a reply or the reply cannot be understood
3103Illegal argument: %s
3104Cannot understant motor port: %s
3105Cannot understant sensor port: %s

Form errors that are signalled in runtime.scm

NumberMessage
3200Trying to divide %s by 0. The result might not be valid

Extension errors (signalled from Extensions)

NumberMessage
3300Error %d in extension %s: %s

Map

NumberMessage
3401Need at least 2 points for a LineString. Got only %1$d
3402Parse error attempting to create LineString: %1$s
3403Too few fields in point. Expected 2 got %2$d
3404Parse error attempting to create Polygon: %1$s
3405Invalid value for point (%1$s, %2$s)
3406Invalid value for point at index %1$d (%2$s, %3$s)
3407Invalid type %2$s at index %1$d. Expected %3$s
3408Invalid number of values in point at index %1$d. Expected %2$d but found %3$d
3409Invalid number of values in point. Expected %1$d but found %2$d
3410Invalid type %1$s. Expected %2$s
3411Unable to parse GeoJSON content for the reason: %1$s
3412Unable to save Map due to an internal exception: %1$s
3413Latitude %1$f was not in the expected range [-90, 90]
3414Longitude %1$f was not in the expected range [-180, 180]
3415Unable to create a tile cache for maps
3416Invalid value %1$d given for AnchorVertical. Valid settings are 1, 2, or 3
3417Invalid value %1$d given for AnchorHorizontal. Valid settings are 1, 2, or 3
3418Invalid latitude %2$s in point at index %1$d. Expected a value between [-90, 90]
3419Invalid longitude %2$s in point at index %1$d. Expected a value between [-180, 180]
3420Expected an array of values at index %1$d, but got %2$s

Alphabetical Order

Accelerometer Sensor Activity Starter Android View Component App Inventor Comms Arrangement Barcode Scanner Bluetooth Camcorder Camera Canvas Contact/Phone No Picker Date Picker Extension File Form in runtime.scm Form Fusion Tables Control Image Image Picker Lego Mindstorms Ev3 Lego Mindstorms NXT Location Sensor Map Media Phone version Sharing Sound Recorder Text To Speech Texting Time Picker Twitter Video Player Web Web Viewer Yandex Translate
Codes: Numerical Order
HTTP Status Codes

Accelerometer Sensor

NumberMessage
1901The value -- %s -- provided for Accelerometer Sensor's sensitivity was bad. The only legal values are 1, 2, or 3

Activity Starter

NumberMessage
601No corresponding activity was found
602No Action information in Activity Starter was found

Android View Component

NumberMessage
2801Percent values should be between 0 and 100.

App Inventor Communication

NumberMessage
1801Security Error Receiving Blocks from Browser

Arrangement

NumberMessage
1401The value -- %s -- provided for Horizontal Alignment was bad. The only legal values are 1, 2, or 3
1402The value -- %s -- provided for Vertical Alignment was bad. The only legal values are 1, 2, or 3

Barcode Scanner

NumberMessage
1501Your device does not have a scanning application installed.

Bluetooth

NumberMessage
501Bluetooth is not available
502Bluetooth is not available
503The specified address is not a valid Bluetooth MAC address
504The specified address is not a paired Bluetooth device
505The specified address is not the required class of device
506The UUID %s is not formatted correctly
507Unable to connect. Is the device turned on?
508Unable to listen for a connection from a bluetooth device
509Unable to accept a connection from a bluetooth device
510Could not decode %s as an integer
511Could not fit %s into 1 byte
512Could not fit %s into %s bytes
513Could not decode element %s as an integer
514Could not fit element %s into 1 byte
515Not connected to a Bluetooth device
516Unable to write: %s
517Unable to read: %s
518End of stream has been reached
519The encoding %s is not supported.

Camcorder

NumberMessage
1201The camcorder did not return a clip

Camera

NumberMessage
201The Camera did not return an Image

Canvas

NumberMessage
1001Error getting Canvas contents to save
1002Canvas width cannot be set to non-positive number
1003Canvas height cannot be set to non-positive number

Contact and Phone Number Picker

NumberMessage
1107The software used in this app cannot extract contacts from this type of phone
1108To pick contacts, pick them directly, without using search

Date Picker

NumberMessage
2401The date entered is invalid

Extension errors (signalled from Extensions)

NumberMessage
3300Error %d in extension %s: %s

File

NumberMessage
2101The file %s could not be found
2102The file %s could not be opened
2103The file %s could not be created
2104Cannot write to file %s
2105Cannot delete asset file at %s
2106Cannot write asset file at %s

Form errors that are signalled in runtime.scm

NumberMessage
3200Trying to divide %s by 0. The result might not be valid

Form

NumberMessage
901The specified screen orientation is not valid: %s
902Screen not found: %s
903Bad value received from other screen: %s
904Bad value for sending to other screen: %s
905Bad value for screen open/close animation: %s
906No Focusable View Found
907ActionBar is not supported on this device

Fusion Tables Control

NumberMessage
2601Fusion tables returned an error. The query was: %s. The response was: %s

Image

NumberMessage
3001The version of Android on this device does not support image rotation.

Image Picker

NumberMessage
1601Unable to save image: %s
1602Unable to copy selected media: %s

Lego Mindstorms Ev3

NumberMessage
3100The Bluetooth property has not been set
3101Cannot connect to an EV3 robot. Has the robot gone to sleep?
3102Unable to receive a reply or the reply cannot be understood
3103Illegal argument: %s
3104Cannot understant motor port: %s
3105Cannot understant sensor port: %s

Lego Mindstorms NXT

NumberMessage
401The Bluetooth property has not been set
402Not connected to a robot
403Unable to receive return package. Has the robot gone to sleep?
404Error code received from robot: %s
405Invalid program name
406Invalid file name
407The NXT does not have a motor port labeled %s
408The NXT does not have a sensor port labeled %s
409The NXT does not have a mailbox number %s
410The NXT only accepts messages up to 58 characters
411The data is too large; it must be 16 bytes or less
412Could not decode element %s as an integer
413Could not fit element %s into 1 byte
414Invalid source argument
415Invalid destination argument
416Unable to download file to robot: %s
417Cannot detect color when the Detect Color property is set to False
418Cannot detect light level when the Detect Color property is set to True
419The Generate Color property is limited to None, Red, Green, or Blue

Location Sensor

NumberMessage
101Unable to find latitude from %s
102Unable to find longitude from %s

Map

NumberMessage
3401Need at least 2 points for a LineString. Got only %1$d
3402Parse error attempting to create LineString: %1$s
3403Too few fields in point. Expected 2 got %2$d
3404Parse error attempting to create Polygon: %1$s
3405Invalid value for point (%1$s, %2$s)
3406Invalid value for point at index %1$d (%2$s, %3$s)
3407Invalid type %2$s at index %1$d. Expected %3$s
3408Invalid number of values in point at index %1$d. Expected %2$d but found %3$d
3409Invalid number of values in point. Expected %1$d but found %2$d
3410Invalid type %1$s. Expected %2$s
3411Unable to parse GeoJSON content for the reason: %1$s
3412Unable to save Map due to an internal exception: %1$s
3413Latitude %1$f was not in the expected range [-90, 90]
3414Longitude %1$f was not in the expected range [-180, 180]
3415Unable to create a tile cache for maps
3416Invalid value %1$d given for AnchorVertical. Valid settings are 1, 2, or 3
3417Invalid value %1$d given for AnchorHorizontal. Valid settings are 1, 2, or 3
3418Invalid latitude %2$s in point at index %1$d. Expected a value between [-90, 90]
3419Invalid longitude %2$s in point at index %1$d. Expected a value between [-180, 180]
3420Expected an array of values at index %1$d, but got %2$s

Media

NumberMessage
701Unable to load %s
702Unable to prepare %s
703Unable to play %s
704External storage is available but read-only
705External storage is not available
706Image file name must end in .jpg, .jpeg, or .png
707Cannot open file %s
708Got file error: %s
709Unable to grant exclusive lock of audio output stream to %s
710The sound is not ready to play: %s
711Not Enough Memory to load: %s
712Invalid volume: %s. Volume must be set to a number between 0 and 100

Phone version

NumberMessage
1Warning: This app contains functionality that does not work on this phone: Picking an EmailAddress
2Warning: This app contains functionality that does not work on this phone: The EmailPicker component
3Warning: This app contains functionality that does not work on this phone: The FusiontablesControl component
4Warning: This app contains functionality that does not work on this phone: Using cookies in the Web component
5Warning: This app contains functionality that does not work on this phone: Wi-Fi peer-to-peer connectivity

Sharing

NumberMessage
2001The File %s could not be found on your device

Sound Recorder

NumberMessage
801An unexpected error occurred while recording sound
802Cannot start recording: %s
803Stop() called when not recording
804Maximum sound recording duration was reached
805Maximum sound recording size was reached

Text To Speech

NumberMessage
2701TextToSpeech is not yet ready to perform this operation

Texting

NumberMessage
1701Text Receiving should be either 1, 2 or 3

Time Picker

NumberMessage
2301The hour must be set to a value between 0 and 23
2302The minute must be set to a value between 0 and 59

Twitter

NumberMessage
301Twitter no longer supports this form of Login. Use the Authorize call instead
302The Consumer Key and Consumer Secret properties must be set in order to authorize access for Twitter. Please obtain a Consumer Key and Consumer Secret specific to your app from: Twitter Oauth New Clients Note: If you do not have a Twitter Developer Account, this link should divert you to the account application page.
303Twitter error: %s
304Unable to get access token: %s
305Twitter authorization failed
306SetStatus failed. %s
307Request Mentions failed. %s
308Request Followers failed. %s
309Request Direct Messages failed. %s
310Direct Message failed. %s
311Follow failed. %s
312Stop Following failed. %s
313Twitter Request Friend Time line failed: %s
314Twitter search failed
315Invalid Path to Image; Update will not be sent

Video Player

NumberMessage
1301Cannot start fullscreen mode
1302Cannot exit fullscreen mode
1303Fullscreen mode not supported on this version of Android

Web

NumberMessage
1101Unable to get a response with the specified URL: %s
1102The encoding %s is not supported
1103Unable to post or put the text \%s\ with the specified URL: %s
1104Unable to post or put the file \%s\ with the specified URL: %s
1105Unable to decode the JSON text: %s
1106Unable to decode the HTML text: %s
----There is a gap here because Contact Picker errors use the numbers 1107 and 1108
1109Unable to decode the XML text: %s
1110The specified URL is not valid: %s
1111The specified request headers are not valid: element %s is not a list
1112The specified request headers are not valid: element %s does not contain two elements
1113Unable to build request data: element %s is not a list
1114Unable to build request data: element %s does not contain two elements
1115Unable to delete a resource with the specified URL: %s

Web Viewer

NumberMessage
2501SSL Connection could not complete

Yandex Translate

NumberMessage
2201Missing API key for the Yandex.Translate service
2202The translation service is not available; Please try again later
2203The response from the Yandex.Translate service cannot be parsed; Please try again later

HTTP Status Codes

Note

1xx: Informational - Request received, continuing process

2xx: Success - The action was successfully received, understood, and accepted

3xx: Redirection - Further action must be taken in order to complete the request

4xx: Client Error - The request contains bad syntax or cannot be fulfilled

5xx: Server Error - The server failed to fulfill an apparently valid request


ValueDescriptionRef
100Continue [RFC7231, Section 6.2.1]
101Switching Protocols [RFC7231, Section 6.2.2]
102Processing [RFC2518]
103Early Hints [RFC8297]
104-199Unassigned
200OK [RFC7231, Section 6.3.1]
201Created [RFC7231, Section 6.3.2]
202Accepted [RFC7231, Section 6.3.3]
203Non-Authoritative Information [RFC7231, Section 6.3.4]
204No Content [RFC7231, Section 6.3.5]
205Reset Content [RFC7231, Section 6.3.6]
206Partial Content [RFC7233, Section 4.1]
207Multi-Status [RFC4918]
208Already Reported [RFC5842]
209-225Unassigned
226IM Used [RFC3229]
227-299Unassigned
300Multiple Choices [RFC7231, Section 6.4.1]
301Moved Permanently [RFC7231, Section 6.4.2]
302Found [RFC7231, Section 6.4.3]
303See Other [RFC7231, Section 6.4.4]
304Not Modified [RFC7232, Section 4.1]
305Use Proxy [RFC7231, Section 6.4.5]
306(Unused) [RFC7231, Section 6.4.6]
307Temporary Redirect [RFC7231, Section 6.4.7]
308Permanent Redirect [RFC7538]
309-399Unassigned
400Bad Request [RFC7231, Section 6.5.1]
401Unauthorized [RFC7235, Section 3.1]
402Payment Required [RFC7231, Section 6.5.2]
403Forbidden [RFC7231, Section 6.5.3]
404Not Found [RFC7231, Section 6.5.4]
405Method Not Allowed [RFC7231, Section 6.5.5]
406Not Acceptable [RFC7231, Section 6.5.6]
407Proxy Authentication Required [RFC7235, Section 3.2]
408Request Timeout [RFC7231, Section 6.5.7]
409Conflict [RFC7231, Section 6.5.8]
410Gone [RFC7231, Section 6.5.9]
411Length Required [RFC7231, Section 6.5.10]
412Precondition Failed [RFC7232, Section 4.2] [RFC8144, Section 3.2]
413Payload Too Large [RFC7231, Section 6.5.11]
414URI Too Long [RFC7231, Section 6.5.12]
415Unsupported Media Type [RFC7231, Section 6.5.13] [RFC7694, Section 3]
416Range Not Satisfiable [RFC7233, Section 4.4]
417Expectation Failed [RFC7231, Section 6.5.14]
418-420Unassigned
421Misdirected Request [RFC7540, Section 9.1.2]
422Unprocessable Entity [RFC4918]
423Locked [RFC4918]
424Failed Dependency [RFC4918]
425Too Early [RFC8470]
426Upgrade Required [RFC7231, Section 6.5.15]
427Unassigned
428Precondition Required [RFC6585]
429Too Many Requests [RFC6585]
430Unassigned
431Request Header Fields Too Large [RFC6585]
432-450Unassigned
451Unavailable For Legal Reasons [RFC7725]
452-499Unassigned
500Internal Server Error [RFC7231, Section 6.6.1]
501Not Implemented [RFC7231, Section 6.6.2]
502Bad Gateway [RFC7231, Section 6.6.3]
503Service Unavailable [RFC7231, Section 6.6.4]
504Gateway Timeout [RFC7231, Section 6.6.5]
505HTTP Version Not Supported [RFC7231, Section 6.6.6]
506Variant Also Negotiates [RFC2295]
507Insufficient Storage [RFC4918]
508Loop Detected [RFC5842]
509Unassigned
510Not Extended [RFC2774]
511Network Authentication Required [RFC6585]
512-599Unassigned