---
title: "Resolving Highcharts HTTP 429 errors in Pipelines and Code Studio"
date: "2026-04-29T12:37:11+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/97391-resolving-highcharts-http-429-errors-pipelines-and-code-studio"
id: "2f3c6617-9198-40f3-9ef1-6cc5316395c9"
---

Automated builds in Acquia Pipelines or Code Studio must succeed when you use the `drupal/charts` module with the `charts_highcharts` submodule. Builds often fail during the installation or build phase with an HTTP 429 error from `code.highcharts.com`.

****Root cause****: The `charts_highcharts` submodule often fetches JavaScript (JS) assets from the Highcharts Content Delivery Network (CDN) through the Composer install process. Because Pipelines and Code Studio use shared infrastructure, multiple builds originate from the same egress IP ranges. Highcharts enforces a fair-usage policy on the CDN. When the request threshold is exceeded from these shared IPs, the CDN returns a 429 error and the build fails.

Workaround
----------

### ****Vendor JS files****:

The most reliable method to avoid CDN rate limiting is to host the library assets in the project repository. To vendor JS files:

1.  Access the [Highcharts Download](https://www.highcharts.com/download/) page.
    
2.  Download the required Highcharts JS files, such as `highcharts.js`, `highcharts-more.js`, and `exporting.js`.
    
3.  Create a directory in the project root at `/libraries/highcharts`.
    
4.  Place the downloaded files in the new directory.
    
5.  Commit these files to the Git repository.
    
6.  Ensure that the `composer.json` file does not fetch these assets from the remote CDN during the build process.
    
7.  Ensure that the `installer-paths` in the `composer-installers` plugin recognize the local `/libraries` folder.
    

### Use NPM 

If the project uses a Node-based build step, manage the Highcharts dependency through NPM. To load Highcharts through NPM:

1.  Run the following command: `npm install highcharts --save`
    
2.  Update the build scripts to copy the Highcharts assets from `node_modules/highcharts/` into the Drupal `libraries` directory. Alternatively, include the assets in the compiled JS bundle.
    
3.  Ensure that the `charts_highcharts` module uses the local file path instead of the CDN URL.
    

For more information, refer to [code.highcharts.com returning 429 responses](https://www.drupal.org/project/charts/issues/3575808), [Known issues in Pipelines](https://Known issues in Pipelines), and [Known issues in Code Studio](https://Known issues in Code Studio).[#3575808: code.highcharts.com returning 429 responses](https://www.drupal.org/project/charts/issues/3575808)