Error Codes  |  Cast  |  Google Developers (2023)

  • Home
  • Products
  • Cast
  • Guides
Stay organized with collections Save and categorize content based on your preferences.

If you have an issue that this page does not address, see theGoogle Cast Support page to get answers to your questions.

Cast SDK error codes

Error codes related to the Cast SDK sent by error events or media errormessages.

Name Code Description Solution
APP 900 Returned when an error occurs outside of the framework (e.g., if an event handler throws an error). Investigate the error that is outside the cast framework.
BREAK_CLIP_LOADING_ERROR 901 Returned when break clip load interceptor fails. Examine the contents of the break clips.
BREAK_SEEK_INTERCEPTOR_ERROR 902 Returned when break seek interceptor fails. Check to ensure the break seek interceptor is correct.
IMAGE_ERROR 903 Returned when an image fails to load. Verify the image URL points to the correct location.
LOAD_INTERRUPTED 904 A load was interrupted by a stop, or by another load. Check to see if another action caused the load to be interrupted.
LOAD_FAILED 905 A load command failed. Verify the load request is set up properly and the media is able to play.
MEDIA_ERROR_MESSAGE 906 An error message was sent to the sender. Check either the Web Receiver or the sender for information on the error.
GENERIC 909 Returned when an unknown error occurs. Something unexpected has occurred. This should be rare.

Playback-related error messages from MPL sent by error events or media errormessages.

(Video) Google OAuth2: How the fix redirect_uri_mismatch error. Part 2 server sided web applications.

Name Code Description Solution
MEDIA_UNKNOWN 100 The media element encountered an unknown error fired from platform. The media element encountered an error that did not indicate it's one of MediaError.MEDIA_ERR_*. This should be rare.
MEDIA_ABORTED 101 The media element fired MediaError.MEDIA_ERR_ABORTED error. The fetching process for the media resource was aborted at the user's request. This is usually due to aborting play.
MEDIA_DECODE 102 The media element fired MediaError.MEDIA_ERR_DECODE error. Developer should validate their stream's encoding parameters.
MEDIA_NETWORK 103 The media element fired MediaError.MEDIA_ERR_NETWORK error Download of media data failed because Cast doesn't use media element to download. This issue can be with your app; if necessary, report through Cast issue tracker.
MEDIA_SRC_NOT_SUPPORTED 104 The media element fired MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED error. Validate developer data segment, ensure the codecs are included in Cast supported formats.
SOURCE_BUFFER_FAILURE 110 Cast is unable to add a source buffer to the existing Media source. See Web Crypto. Often times this could be incorrect codecs specified on the codecs stream on the manifest in your app. If not, report through Cast issue tracker.
MEDIAKEYS_NETWORK 201 When using XhrIo in Media Keys for posting a license request, we encountered a network error. Developer validates their license server.
MEDIAKEYS_UNSUPPORTED 202 This covers two cases:
  • When using the media session to generate a request on EME, we encountered a key error.
  • Failed to initialize EME media keys.
Download of media data failed, but because Cast doesn't use media element to download, please report through Cast issue tracker.
MEDIAKEYS_WEBCRYPTO 203 When using built-in Web Crypto supported by the browser, we ran into an error decrypting. See Web Crypto API. Please report through Cast issue tracker.
SEGMENT_NETWORK 301* Failed to retrieve any segment from any bitrate (with three retries of exponential backoffs). Developers need to validate that their segments are indeed available. It could be the case that a user that cannot reach these segments as well.
HLS_NETWORK_MASTER_PLAYLIST 311* Failed to retrieve the master playlist m3u8 file with three retries. Developers need to validate that their playlists are indeed available. It could be the case that a user that cannot reach the playlist as well.
HLS_NETWORK_PLAYLIST 312* Failed to retrieve the media (bitrated) playlist m3u8 file with three retries. Developers need to validate that their playlists are indeed available. It could be the case that a user that cannot reach the playlist as well.
HLS_NETWORK_NO_KEY_RESPONSE 313 The request for decryption key did not return a response. Developers need to validate their decryption key service.
HLS_NETWORK_KEY_LOAD 314* The XhrIO used to request HLS decryption key failed. Developers need to validate their decryption key service.
HLS_NETWORK_INVALID_SEGMENT 315 The HLS segment received for processing is neither a TS nor an mp4 AAC segment. Could be MPL bug or configuration on Web Receiver app bug. Developers need to validate that their segments are either TS or AAC.
HLS_SEGMENT_PARSING 316 Returned when an HLS segment fails to parse. Developers need to validate that their segments are formed correctly.
DASH_NETWORK 321* The XHR request to get the DASH Manifest failed with no response. See star section for network-related error diagnosis.
DASH_NO_INIT 322 We cannot extract initialization data from the first DASH init segment. Developers need to validate their DASH init segment.
SMOOTH_NETWORK 331* The XHR request to get the DASH Manifest failed with no response. See star section for network related error diagnosis.
SMOOTH_NO_MEDIA_DATA 332 The segment downloaded for processing contains no media data. Developers need to validate their Smooth segments.
HLS_MANIFEST_MASTER 411 Parsing of the HLS manifest file failed. Or something MPL does not understand yet in the m3u8 Examine the content of the manifest url.
HLS_MANIFEST_PLAYLIST 412 Parsing of the media playlist file failed. Or something MPL does not understand yet in the m3u8 Examine the content of the media playlist URL.
DASH_MANIFEST_NO_PERIODS 421 When normalizing the Dash manifest, we found not periods in it. This is abnormal. Developers need to validate their DASH manifest.
DASH_MANIFEST_NO_MIMETYPE 422 There is no mimetype for a representation in the manifest. Developers need to specify Audio/Video/Text mimetype for their representations.
DASH_INVALID_SEGMENT_INFO 423 MPL is requesting a segment index that is beyond the length of available segments as specified by the representation in the manifest. Report using links on the Google Cast Support page.
SMOOTH_MANIFEST 431 The smooth manifest does not conform to standard. Developer needs to resolve any of the following issues:
  • no sps
  • invalid video quality
  • invalid audio quality
  • invalid audio codec private data
  • invalid protection info
  • no quality level
  • unknown media

Shaka player error codes

For error codes related to Shaka Player, see the Shaka PlayerError class documentation.

Common network errors

HTTP Error Status Code Description Solution
BAD_REQUEST 400 The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications. Something is wrong with the url. Check with application developers
UNAUTHORIZED 401 The request requires user authentication Check application to see if proper auth information is present.
NOT_FOUND 404 Client can communicate with server but server could not find what was requested Developers checks url resources and ensures they are there.
REQUEST_TIMEOUT 408 The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time. This could be a resource (server scalability) or real network issue.
INTERNAL_SERVER_ERROR 500 The server encountered an unexpected condition which prevented it from fulfilling the request. Developers check their server problem.
BAD_GATEWAY 502 The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. Developers check their server configuration.
SERVICE_UNAVAILABLE 503 The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. Developers check their server configuration, especially the scalability of their services.
GATEWAY_TIMEOUT 504 The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI. Developers check server configuration and connection between their edge servers and origin nodes.


An error code followed by an asterisk (*) can have further error codes appended to it. The format is:

{Error Code}{Closure Network Error Code}{HTTP Status Code}

For more info, seeHTTP Status Code.

(Video) How experienced developers google error messages (step-by-step)

Example 3016404 has three parts:

301 Segment network error.
6 HTTP error.
404 HTTP not found status.

The nature of network errors -The reason some of these errors are actionable while others are not is due tothe nature of network operations. For example, error 3018408 indicating atimeout could mean a bad connection for the user, where neither the Castteam nor the developers can do much about it; beware it could also mean thedeveloper's CDN is having issues as well. On the other hand, an error 3116403means that the manifest request is successfully made but the server refusesto serve it. This could be CORS, auth, or any other server or integrationissues that developers should look at.

(Video) Google OAuth Error 403: access_denied easy fix.
Previous arrow_back Chrome Remote Debugger
(Video) YouTube Developers Live: Debugging & Dealing with Errors

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-03-24 UTC.

(Video) 🛑 HTTP Status Codes Explained in 7 Minutes | 30 Days of API Testing | Day 23


Why is casting not working? ›

When your Google Chrome cast not working, You might need to reset it. To reset Chromecast you may either select "Factory Reset" in the Google Home app or you can press and hold the device's button for at least 25 seconds to reset your Chromecast device.

What is 404 error 200 status code? ›

A soft 404 error is when a URL that returns a page telling the user that the page does not exist and also a 200 (success) status code. In some cases, it might be a page with no main content or empty page.

What is error code 6 Google Play? ›

The Error Code 6 means that there was an issue communicating with the Google Play app on the phone (various possible reasons). 2) Make sure that the Google Play app is up to date - Open Google Play > tap the side menu button > tap Settings > tap on "Build version" to have it check that you have the latest ( more info).

Why is my Google not casting? ›

Troubleshooting steps. Unplug the power cable from the Chromecast device and wait a few seconds, then plug it back in. Wait a couple of minutes. Check if your device now appears on the list of devices you can cast to.

How do I fix Chromecast not working? ›

To improve your Chromecast connection and performance, try these steps:
  1. Make sure your mobile devices and Chromecast are on the same Wi-Fi network. ...
  2. If your router supports both 2.4 GHz and 5 GHz, make sure your Chromecast is on the 5 GHz network.
  3. Update your router's firmware, if needed. ...
  4. Restart your Chromecast.

What is Google 402 error? ›

The HTTP 402 Payment Required is a nonstandard response status code that is reserved for future use. This status code was created to enable digital cash or (micro) payment systems and would indicate that the requested content is not available until the client makes a payment.

What are the 3 types or categories of programming errors? ›

When developing programs there are three types of error that can occur:
  • syntax errors.
  • logic errors.
  • runtime errors.

What are the 4 types of API? ›

APIs are broadly accepted and used in web applications. There are four different types of APIs commonly used in web services: public, partner, private and composite.

What is 409 status code? ›

endpoint. HTTP 409 error status: The HTTP 409 status code (Conflict) indicates that the request could not be processed because of conflict in the request, such as the requested resource is not in the expected state, or the result of processing the request would create a conflict within the resource.

What is error code 418? ›

The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return 503.

What is error code 204? ›

The HTTP 204 No Content success status response code indicates that a request has succeeded, but that the client doesn't need to navigate away from its current page. This might be used, for example, when implementing "save and continue editing" functionality for a wiki site.

What is error code 5? ›

Error Code 5 is a Windows error code that appears when the user does not have sufficient permission to access the requested file or location. It appears when the software was denied access to a location for the purposes of saving, copying, opening, or loading files.

What is error code 7? ›

Error code 7 means there is not enough memory available, To resolve this issue you would need to increase the memory on the endpoint, if that is not possible using an offline cab file should allow the endpoint to patch.

What error code is 606? ›

Error 606 means the license number isn't a valid match to the program installed. This can occur when Deluxe, Premier, Home & Business, or Business are installed and the license number doesn't match, causing the 606.

How do I enable Google cast? ›

Tap the Cast button in a cast-enabled app.
  1. Plug in Chromecast and visit ...
  2. Connect Chromecast to your Wi‑Fi network.
  3. Tap the Cast button in a cast-enabled app.

How do I reset Google cast? ›

From the Chromecast device
  1. While the Chromecast is plugged into the TV and powered, press and hold the button on the back of the Chromecast. The LED should start to blink yellow.
  2. When the LED light turns solid white, release the button, and the Chromecast should then reset.

How do I get Google cast to work? ›

Open a Chromecast-enabled app from a phone or tablet, without connecting to your WiFi. The Cast button will automatically appear, even though you're not connected to the WiFi. Tap the Cast button and select “Nearby device”. Follow the prompts to connect automatically.

What is the lifespan of a Chromecast? ›

On average, expect your Chromecast to last two to three years of regular use. Mainly, the device shall continue to function beyond the three-year mark if taken good care of and used wisely. Non-stop use could be detrimental.

What is Google Error Code 403? ›

If you have password protected a page on your site, or set a page as member-only, Google will get a 403 response (forbidden) and log it under Crawl Errors. This error message is nothing to worry about, Google is just alerting you that there are pages on your site that are restricted.

What is an error 410 on Google? ›

For website visitors, the 410 error means that the webpage was deleted and, generally, is no different from the 404 error. For search engines, the 410 status code is more unambiguous than the 404 response because the 404 error can be temporary.

What is a 404 Google error? ›

Get link. Report abuse. As you might know, a 404 error is "File not found." This can happen when a file is deleted or there is an error in a hyperlink. It can also happen if a file is copied and the original deleted. The new file will have a new address and previous links will not work.

What are error detecting codes? ›

Error-detecting codes are a sequence of numbers generated by specific procedures for detecting errors in data that has been transmitted over computer networks. When bits are transmitted over the computer network, they are subject to get corrupted due to interference and network problems.

What is the most common programming error? ›

1. Syntax Errors. Just like human languages, computer languages have grammar rules. But while humans are able to communicate with less-than-perfect grammar, computers can't ignore mistakes, i.e. syntax errors.

What are different types of errors? ›

There are three types of errors that are classified based on the source they arise from; They are: Gross Errors. Random Errors. Systematic Errors.

What are the three most common APIs? ›

There are also three common types of API architectures:
  • REST, a collection of guidelines for lightweight, scalable web APIs.
  • SOAP, a stricter protocol for more secure APIs.
  • RPC, a protocol for invoking processes that can be written with XML (XML-RPC) or JSON (JSON-RPC).
Jan 16, 2023

What is API in coding? ›

API stands for Application Programming Interface. In the context of APIs, the word Application refers to any software with a distinct function. Interface can be thought of as a contract of service between two applications. This contract defines how the two communicate with each other using requests and responses.

What is 422 error code? ›

The HyperText Transfer Protocol (HTTP) 422 Unprocessable Content response status code indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.

What is a 405 status code? ›

The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates that the server knows the request method, but the target resource doesn't support this method.

What is a 412 status code? ›

The HyperText Transfer Protocol (HTTP) 412 Precondition Failed client error response code indicates that access to the target resource has been denied.

What does error code 4001 mean? ›

If the vendor tx code you are using for the transaction matches that of another you have processed you will receive the error - 4001. The vendor tx code must be unique for every transaction that is processed through your account.

What is HTTP 417 error code? ›

The HTTP 417 Expectation Failed client error response code indicates that the expectation given in the request's Expect header could not be met.

What does error code 2324 mean? ›

Another direct and simple iTunes error 2324 fix is to remove all iTunes associated software that may cause error 2324 issue. Open Control Panel and select Uninstall a program under Programs category. Locate iTunes and other related programs such as QuickTime Player, Apple Application Support, Bonjour.

Why is my TV not letting me Cast? ›

Check to make sure both devices (the TV and the Phone/Tablet/PC or other cast device) are on the same network. Your phone or tablet may be connected to your cellular data network. For cast to work, both devices have to be on your home Wi Fi.

Why is my screen not casting to TV? ›

If you're having issues with your devices not connecting screen mirroring, a quick fix is to restart both your TV and phone. Make sure that your phone is paired and connected to your TV using the same Wi-Fi network and then reboot the Wi-Fi router.

Why is it not casting to my TV? ›

If you're having trouble casting video using Chromecast built-in (formerly Google Cast) functionality to your Android TV, make sure you're using the current version of the Google Cast Receiver. For best results, make sure your Google Cast Receiver is updated to version 1.33 or higher.

How do you reset TV casting? ›

Select Settings. The following steps will depend on your TV menu options: Select Apps → See all apps → Show System apps → Cast function apps → Clear Data → OK. Select Apps → Cast function apps → Clear Data → OK.
Restart the wireless router.
  1. Turn off and unplug the device.
  2. Wait 1-2 minutes.
  3. Reconnect and turn it on.
Nov 28, 2022

How do I force cast to my TV? ›

Mirror your Android phone or tablet screen to the TV
  1. From your Android phone or tablet, open the Google Home app.
  2. Tap the left hand navigation to open the menu.
  3. Tap Cast screen / audio and select your TV.

How do I enable casting on my TV? ›

Cast content from your device to your TV
  1. Connect your device to the same Wi-Fi network as your Android TV.
  2. Open the app that has the content you want to cast.
  3. In the app, find and select Cast .
  4. On your device, select the name of your TV.
  5. When Cast. changes color, you're successfully connected.

How do I make my TV available for casting? ›

Cast your screen to a TV using the Google Home app

Open the Home app and select the Chromecast device you want to use. At the bottom of the screen will be a button labeled Cast my Screen; tap it.


1. Google Oauth: error redirect_uri_mismatch the javascript origin Quick Fix.
(DAIMTO Developer Tips)
2. JavaScript : Getting Error 403: Access Not Configured. Please use Google Developers Console to acti
(Knowledge Base)
3. How to Fix the Google Maps API Key Error
(Concierge Web Company)
4. How To Fix Google Redirect Uri Mismatch Error
(Peek Coding)
5. HTTP Status Codes: A Complete Guide & List of Error Codes
6. Google Map API Error Latest FIXES - 2022


Top Articles
Latest Posts
Article information

Author: Allyn Kozey

Last Updated: 11/09/2023

Views: 6492

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.