Skip to main content

Usage API Creates an Invalid Download URL

Overview

When using the Usage API, you may notice that the download_URL generated seems to return an invalid error when copied into a browser. This article will explain a method to convert that URL into something useable.

Why Is This Happening?

The generated URL can contain unicode values between URL parameters which are then interpreted incorrectly by browsers, which causes an error.

How Do I Fix This?

After making the API call to generate the URL, take the URL and run it with the following command, replacing "download_url" with your URL:

echo -e "download_url"

Additional Resources:

Did this answer your question?