Issue with ChatGPT Module: "BundleValidationError" - Invalid Collection in 'Messages'

What are you trying to achieve?

I am trying to use the OpenAI ChatGPT module in Make.com to generate a 600-word SEO-friendly blog post formatted for Shopify. The output should include internal links, fragrance details, structured headers, and properly embedded anchor links for product pages and related blog posts.

Steps taken so far

I have:
:white_check_mark: Set up the OpenAI module with GPT-4o mini as the model.
:white_check_mark: Enabled the “Map” toggle for the “Messages” field.
:white_check_mark: Entered a structured JSON prompt in the Messages field.
:white_check_mark: Tried different JSON formats, but I keep getting a BundleValidationError.
:white_check_mark: Reviewed OpenAI’s API documentation but still facing issues.
Issue/Problem
Every time I run the scenario, I receive the following error message:
:x: “BundleValidationError - Invalid collection in parameter ‘messages’.”
It seems like Make.com is not recognizing the Messages input correctly.

What I Need Help With
How should I properly format the “Messages” field so Make.com can accept it?
Is there a specific JSON structure required to prevent this error?
Are there common mistakes when integrating ChatGPT with Make.com?

Screenshots: scenario setup, module configuration, errors







1 Like

Hi @Waseem_Abdullah and welcome to the Make Community!

Why are you using a JSON structure instead of puttin the system message ina system prompt, and a user message in the user prompt. Like this:

L

3 Likes

thanks , you help me alot :heart:

3 Likes