# Validation failed for 2 parameter(s)

**URL:** <https://community.make.com/t/validation-failed-for-2-parameter-s/24963>\
**Category:** Beginner Questions\
**Tags:** error, connections, mapping\
**Created:** [January 22, 2024, 7:05am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963 "2024-01-22T07:05:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 7:05am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/1 "2024-01-22T07:05:00Z")

</div>

I am a newbie to MAKE. I spent the whole day to resolve this issue:

Validation failed for 2 parameter(s).

Missing value of required parameter ‘fileName’.

Missing value of required parameter ‘fileData’.

Can someone advise me the values to go in the above fields, please!

 ![Snapshot_14](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/7/e75bb9c2e8076200c09f87180f62a1e24c1d72c4.jpeg)

 ![Snapshot_13](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/8/0867f205f6dbe6a4f4fbc145fecf31b8f0d4f283.jpeg)

---

<div class="post-metadata">

**Author:** ![ThakurHemansh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/thakurhemansh/32/51014_2.png) [@ThakurHemansh](https://community.make.com/u/ThakurHemansh)\
**Post date:** [January 22, 2024, 7:25am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/2 "2024-01-22T07:25:30Z")

</div>

This error occurs when data is not in the correct format. Check if the Filename and Data fields are mapped correctly to this module.

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [January 22, 2024, 7:26am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/3 "2024-01-22T07:26:11Z")

</div>

Hi @Asim_Malik

Welcome to community.

This error is mainly due to an invalid value with the mapped variable. Parameters like fileName and FileData may not be in the required format or supporting data in the OpenAI module. Please confirm the type of data that is supported in the OpenAI module.

If you require additional assistance, please don’t hesitate to reach out to us.  
[MSquare Support](https://calendly.com/msquarepro/meeting)  
Visit us [here](https://www.msquare.pro/)  
[Youtube Channel](https://www.youtube.com/channel/UCqidlIIwbejxZmRUWBICcjQ)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 22, 2024, 8:31am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/4 "2024-01-22T08:31:33Z")

</div>

Welcome to the Make community!

## 1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:  
 ![Screenshot_2023-10-07_111039](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/0/20b53cdf28d223e85fc9654c350eadebd37f5d3c.png)

## 2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

 ![Screenshot_2023-08-24_230826](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/2/2ff55ee04419049c127f183db2b3eebfbbbbfc64.png)  
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

> blueprint.json (12.3 KB)

## 3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.

 ![Screenshot_2023-10-06_141025](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A.

Save the bundle contents in your text editor as a `bundle.txt` file, and upload it here into this discussion thread.

Uploading it here will look like this:

> bundle.txt (12.3 KB)

### B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

- Either add three backticks ````` before and after the code, like this:

- Or use the format code button in the editor:  
 ![Screenshot_2023-10-02_191027](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/4/b485b6572c7a1c438f9b191c54e63d351008304c.png)

Providing the output bundles will allow others to _replicate_ what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 1:29pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/5 "2024-01-22T13:29:35Z")

</div>

![Snapshot_14](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/7/e75bb9c2e8076200c09f87180f62a1e24c1d72c4.jpeg)

 ![Snapshot_13](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/8/0867f205f6dbe6a4f4fbc145fecf31b8f0d4f283.jpeg)

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 1:33pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/6 "2024-01-22T13:33:54Z")

</div>

Thanks for offering support. I have spent full day to work out but got no where. Unless scanario (whisper1 module) is run green, I can not progress anyfurther.  
As I am newbie and not familiar with coding, can someone give me an idiot guide, please!

---

<div class="post-metadata">

**Author:** ![Lauren\_Moineau](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@Lauren\_Moineau](https://community.make.com/u/Lauren_Moineau)\
**Post date:** [January 22, 2024, 1:36pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/7 "2024-01-22T13:36:17Z")

</div>

Hi @Asim_Malik Can you provide a screenshot of your OpenAI module settings?  
Something like this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/4/447a8af090f06407f33706d393b0a9bd5aa3f8d8.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 22, 2024, 2:03pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/8 "2024-01-22T14:03:03Z")

</div>

Hi @Asim_Malik, you have not provided any of the requested information yet.

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 2:03pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/9 "2024-01-22T14:03:56Z")

</div>

![Snapshot_15](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/e/2e85d6f0fbeb36a76cfd7c4c53fa27112f2bbd8c.jpeg)

This is the file I am trying to send to whisper1

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 2:09pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/10 "2024-01-22T14:09:48Z")

</div>

![Snapshot_16](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/f/3fdda0ee71b9e6880b1f07e2e43607e72420550f.jpeg)

Here is the screenshot

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 2:16pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/11 "2024-01-22T14:16:58Z")

</div>

Hi samliew (Solution Institution)

Here is the screenshot in response to your querry

 ![Snapshot_17](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/0/10cb84cd13cd016e29bc2921efbe380308981fef.jpeg)

```auto
[
    null
]

```

This the response I receive when click on output bundles

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 22, 2024, 2:35pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/12 "2024-01-22T14:35:54Z")

</div>

Looks like you are not mapping any file data into your OpenAI module.

You need to use OneDrive “Download a file” module to get the File Data first.

![Screenshot_2024-01-22_220157](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/d/6dcd730ca7b465250749aeb17ab21d9468666ab6.png)

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 2:48pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/13 "2024-01-22T14:48:19Z")

</div>

Thanks for giving me right direction. How do I do it? Please step by step guide.

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 22, 2024, 3:31pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/14 "2024-01-22T15:31:07Z")

</div>

![downlaod from web](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/2/523f3065b4932b728f008d7ee6a58d6c20041b28.png)

I presume you want me to tick this button in Open AI Module. But on my computer, this button is not showing up at all above the Map button.  
How to get it sowing up, please???

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 22, 2024, 3:54pm UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/15 "2024-01-22T15:54:03Z")

</div>

> [@Asim\_Malik](#):
>
> Thanks for giving me right direction. How do I do it?

1. Put the “Download a File” module after your “Watch Files/Folders” module

2. In the “Download a File” module, map the File ID from the “Watch Files/Folders” module

3. Run the scenario again

4. Open the OpenAI module settings and select the downloaded file

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 23, 2024, 7:48am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/16 "2024-01-23T07:48:10Z")

</div>

![Snapshot_20](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/1/b1af49011fb74099271ad8a58415cf402a6282e8.jpeg)

Hi samliew

Please advise what will go here. What is the source for completing these parameters?

Kind regards

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 23, 2024, 8:39am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/17 "2024-01-23T08:39:55Z")

</div>

You have to run the full scenario, you can’t really run a single module when files are involved.

---

<div class="post-metadata">

**Author:** ![Asim\_Malik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Asim\_Malik](https://community.make.com/u/Asim_Malik)\
**Post date:** [January 23, 2024, 9:47am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/18 "2024-01-23T09:47:46Z")

</div>

When I click the button “Run once”, the process does not go beyond first module “Google Drive - Watch Files in Folder”.

If I run the individual modules, all four pass through but the middle one returns error.

 ![Snapshot_21](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/d/4dd62a11933b91e45b28303129132bfc4f1c342e.jpeg)

---

<div class="post-metadata">

**Author:** ![Ishan](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@Ishan](https://community.make.com/u/Ishan)\
**Post date:** [January 23, 2024, 9:52am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/19 "2024-01-23T09:52:52Z")

</div>

@Asim_Malik  
Are you encountering any error in the first module when you run the whole scenario ?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 23, 2024, 10:20am UTC](https://community.make.com/t/validation-failed-for-2-parameter-s/24963/20 "2024-01-23T10:20:23Z")

</div>

> [@Asim\_Malik](#):
>
> When I click the button “Run once”, the process does not go beyond first module “Google Drive - Watch Files in Folder”.

That is because your trigger is a polling trigger. Turn on the scenario and actually change/upload a new file to your watched folder.

Then the next time your scenario runs, it will pick up the new file.

[Next page](https://community.make.com/t/validation-failed-for-2-parameter-s/24963.md?page=2)
