APIs & Integrations

arickp1
Teilnehmer/-in | Elite Partner
Teilnehmer/-in | Elite Partner

Getting Cloudflare error when using CMS Source Code API

lösung

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

0 Upvotes
1 Akzeptierte Lösung
Jnix284
Lösung
Berühmtheit

Getting Cloudflare error when using CMS Source Code API

lösung

@arickp1 because the API isn't functioning as expected, I recommend reaching out to HubSpot support directly so this can be escalated to their engineering team. There isn't anything we can do here in the community that would be able to resolve this for you.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort
Jnix284
Lösung
Berühmtheit

Getting Cloudflare error when using CMS Source Code API

lösung

@arickp1 because the API isn't functioning as expected, I recommend reaching out to HubSpot support directly so this can be escalated to their engineering team. There isn't anything we can do here in the community that would be able to resolve this for you.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon