Getting Cloudflare error when using CMS Source Code API

Hey everyone! We’re getting an error from Cloudflare when we try to use the CMS Source Code API to upload minified JS and CSS files to HubSpot. The call that’s failing is the cms.sourceCode.contentApi.replace, which is provided by the @hubspot/apl-client Node.js package. The call always gives back a Cloudflare error regardless of the IP address of the computer that attempts to make the call.


 


We need assistance because, obviously, these are legitimate API calls by us and not an attack. The files are safe, and the API calls were succeeding before. Our development pipeline relies on the CMS Source Code API’s ability to save files in our HubSpot portal.


 


The CF Ray ID from the error is: 8bb7fb98fe8d3962-IAD