APIs & Integrations

arickp1
参加者 | Elite Partner
参加者 | Elite Partner

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

0 いいね!
1件の承認済みベストアンサー
Jnix284
解決策
殿堂入り

Getting Cloudflare error when using CMS Source Code API

解決

@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

元の投稿で解決策を見る

1件の返信
Jnix284
解決策
殿堂入り

Getting Cloudflare error when using CMS Source Code API

解決

@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