---
title: "Error [50019] - File download rejection failure."
slug: "error-50019-file-download-rejection-failure"
updated: 2023-04-26T22:08:09Z
published: 2023-04-26T22:08:09Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Error [50019] - File download rejection failure.

Error code 50019 is displayed when you are using the Chrome monitor and the url you are attempting to test points directly to a Javascript file (e.g. `http://cdn.catchpoint.com/js/library.js`). Browsers do not execute Javascript files when they are input directly into the address field; instead they just attempt to download the file. The Chrome monitor emulates this behavior, leading to the error message.

To avoid this error, any Javascript you want to test using a browser monitor must be referenced via HTML. Your test configuration would point the HTML resource, and then a `&lt;script&gt;` tag in the HTML would call the `.js` file. If you need to test Javascript by direct reference to a `.js` file, then the Object monitor is the best option.

![Image_File_Download_rejection_Failure.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/Image_File_Download_rejection_Failure.png)
