<img src="https://img.shields.io/badge/%20-ENTERPRISE-B10031" style="float:left"/><br /><img src="https://img.shields.io/badge/iOS-V4-009727?logo=apple" style="float:left"/><br />

This reference documents platform-specifc error and warning codes.

The sources for these errors include:

  • Player Javascript components, and loading of said components

  • Native provider and the exceptions it may throw

  • Native features such as Picture-In-Picture

These error codes extend the existing [error codes for the JWP web player](πŸ”—ο»Ώ).

<br /> <hr />

## Setup Errors

### Loading Core JS Component

<!-- Code table ensures column alignment between tables on the page -->

<span class="and-sdk-error-ref-tabl"> <table> <thead> <tr> <th> Code </th> <th> Reason </th> <th> Displayed Message </th> </tr> </thead> <tbody> <tr> <td width="8%"> <a name='101101'></a> 101101 </td> <td width="46%"> Failed to load jwplayer.core.js.</td> <td width="46%"> JavaScript file jwplayer.core.js not found.</td> </tr> <tr> <td> <a name='101102'></a> 101102 </td> <td> Failed to load jwplayer.js. </td> <td> JavaScript file jwplayer.js not found. </td> </tr> <tr> <td> <a name='101104'></a> 101104 </td> <td> Failed to load jwpsrv.js. </td> <td> JavaScript file jwpsrv.js not found. </td> </tr> </tbody> </table> </span>

<br />

### Loading Provider JS Component

<!-- Code table ensures column alignment between tables on the page -->

<span class="and-sdk-error-ref-tabl"> <table> <thead> <tr> <th> Code </th> <th> Reason </th> <th> Displayed Message </th> </tr> </thead> <tbody> <tr> <td width="8%"> <a name='104101'></a> 104101 </td> <td width="46%"> Failed to load promise.js. </td> <td width="46%"> JavaScript file promise.js not found. </td> </tr> </tbody> </table> </span>

<br /> <hr />

## Native Errors

<a name="misc"></a>

### Miscellaneous

#### Connectivity

<!-- Code table ensures column alignment between tables on the page -->

<span class="and-sdk-error-ref-tabl"> <table> <thead> <tr> <th> Code </th> <th> Reason </th> <th> Displayed Message </th> </tr> </thead> <tbody> <tr> <td width="8%"> <a name='230002'></a> 230002 </td> <td width="46%"> The player cannot continue playback because your internet connection is not reachable.</td> <td width="46%"> This video cannot be played because of a problem with your internet connection.</td> </tr> </tbody> </table> </span>

<br />

### Native

#### General

<!-- Code table ensures column alignment between tables on the page -->

<span class="and-sdk-error-ref-tabl"> <table> <thead> <tr> <th> Code </th> <th> Reason </th> <th> Displayed Message </th> </tr> </thead> <tbody> <tr> <td width="8%"> <a name='281000'></a> 281000 </td> <td width="46%"> The player cannot continue due to an unknown error. <br /><br />

ο»Ώ

The server may throw code 281000 when the requested resource is restricted by JWP content protection. Content protection methods include:

  • Geoblocking

  • DRM

  • URL signing

</td> <td width="46%"> Unknown player error.</td> </tr> <tr> <td> <a name='281001'></a> 281001 </td> <td> The player was unable to load the requested media. </td> <td> Failed to load media. </td> </tr> <tr> <td> <a name='281002'></a> 281002 </td> <td> The requested format cannot be played. </td> <td> Player does not support this format. </td> </tr> <tr> <td> <a name='281100'></a> 281100 </td> <td> The video track could not be parsed by the player. </td> <td> Player failed to parse media file. </td> </tr> <tr> <td> <a name='281101'></a> 281101 </td> <td> The video track could not be decoded by the player. </td> <td> Player failed to decode media file. </td> </tr> <tr> <td> <a name='281200'></a> 281200 </td> <td> The player does not have sufficient permissions to access the media. <br /><br />

ο»Ώ

Media access can be prevented due to various reasons, including the following:

  • Content protection, such as DRM, geoblocking, and URL signing

  • Content removal

</td> <td> User does not have access to content. </td> </tr> <tr> <td> <a name='281300'></a> 281300 </td> <td> You cannot reproduce this media on external devices. </td> <td> External playback is not allowed for content. </td> </tr> </tbody> </table> </span>

<br /> <br />

#### Picture in Picture

These errors are returned by the native `AVPictureInPictureController` delegate error method <a href="https://developer.apple.com/documentation/avkit/avpictureinpicturecontrollerdelegate/1614697-pictureinpicturecontroller" target="_blank">Apple Developer Documentation</a>.

<br /> <hr />

<a name="warnings"></a>

## Warnings

<a name="loading-js-warnings"></a>

### Miscellaneous

#### Related

<!-- Code table ensures column alignment between tables on the page -->

<span class="and-sdk-error-ref-tabl"> <table> <thead> <tr> <th> Code </th> <th> Reason </th> <th> Displayed Message </th> </tr> </thead> <tbody> <tr> <td width="8%"> <a name='302400'></a> 302400 </td> <td width="46%"> An error occurred when trying to load the related content. </td> <td width="46%"> Error loading related content feed. </td> </tr> <tr> <td> <a name='302601'></a> 302601 </td> <td> The playlist XML is not a valid playlist XML. </td> <td> Related playlist was a malformed XML file. </td> </tr> <tr> <td> <a name='302602'></a> 302602 </td> <td> There is no content on the related playlist. </td> <td> Related playlist is empty. </td> </tr> <tr> <td> <a name='302611'></a> 302611 </td> <td> The playlist JSON is not a valid playlist JSON. </td> <td> Related playlist was a malformed JSON file. </td> </tr> <tr> <td> <a name='302650'></a> 302650 </td> <td> The configuration does not contain a valid related URL. </td> <td> Related content URL is nil. </td> </tr> </tbody> </table> </span>

<br />

<!-- Removes the automatic page-to-page navigation at the bottom of the page -->

<style> .rm-Pagination { display: none; } </style>