APIs & Integrations

Steffen1
Member

Flex areas in invalid state

Trying to update a mailing, I get a HTTP 400 "Bad Request" with the following response body:

 

{
"correlationId": "c24f4d39-f014-4be9-95d9-ebd535640fc8",
"message": "Flex areas are in an invalid state, preventing save",
"status": "error"
}

 

I checked the original message and the update but unfortunately can't find any fundamental differences. What could be going wrong here? Is there a way for me to check if the flex areas are valid?

 

All processings are done via Java/Spring Boot/Jackson which I assume to be correct (so I expect the issue in the data itself, not in the transport format). Any help would be appreciated,

 

Thanks in advance!

0 Upvotes
3 Replies 3
dennisedson
HubSpot Product Team
HubSpot Product Team

Flex areas in invalid state

hello @Steffen1 ,

Sorry that you are having issues.  Could add the API endpoint you are using as well as the payload that you are sending?  

 

We can take a better look at it when we see what is actually being used.

 

Thanks in advance!

 

0 Upvotes
Steffen1
Member

Flex areas in invalid state

Hi Dennis,

 

I had assumed that the correlation id would serve this purpose... The HTTP PUT URL used was: https://api.hubapi.com/content/api/v2/emails/34818304894?userId=XXXX&hapikey=XXXX

The payload contains a lot of data (> 100kB JSON), much of which is potentially sensible information. I need to check with my superiors whether I can disclose this data here.

 

Thanks,

Steffen

 

 

0 Upvotes
Steffen1
Member

Flex areas in invalid state

Hi Dennis,

 

 

can you please send your mail address?

 

"Message cannot exceed 20,000 characters."

 

 

Thank you,

Steffen

0 Upvotes