web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : a0+cfy6KvVKvNCmaWl2B6F
Power Automate - Using Connectors
Answered

Sales Force Connector - Create a record error

Like (2) ShareShare
ReportReport
Posted on 21 Dec 2022 10:26:14 by 31

Hello,

 

I have built a Power automate flow which has been working for months. Today I made a change to the flow, not related to the Sales Force Create Opportunity, and saved. After I saved, I now receive this error when my flow is used.

 

The 'inputs.parameters' of workflow operation 'Create_Opportunity' of type 'OpenApiConnection' is not valid. Error details: The API operation 'PostItem_V2' requires the property 'item/CloseDate' to be a string of maximum length '0' but is of length '10'.

 

Any ideas where I need to look to set the maximum length to not = 0. Opportunity close date is a required field so it can't be set to 0.

 

Thanks.

I have the same question (0)
  • Verified answer
    ccb_101 Profile Picture
    31 on 02 Jan 2023 at 13:09:34
    Re: Sales Force Connector - Create a record error

    Just an update to say that the issue has been fixed by Microsoft. So the flow is working again.

     

    See the comment from zachzepp in the below.

    https://powerusers.microsoft.com/t5/Using-Connectors/Salesforce-Connector-Update-record-V3-throwing-strange-error/m-p/1946059#M17042

     

  • ccb_101 Profile Picture
    31 on 22 Dec 2022 at 05:20:49
    Re: Sales Force Connector - Create a record error

    Does anyone have an idea who manages the api parameter validation code? Because clearly this validation check is incorrect or was changed with a typo in it. This field should NOT have a validation check of 0 but should actually be 10 or a value higher. 

     

    Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_record': The API operation 'Postitem_V2' requires the property 'item/CloseDate' to be a string of maximum length '0' but is of length '10'.'.

  • ahmad_salameh Profile Picture
    2 on 21 Dec 2022 at 23:54:19
    Re: Sales Force Connector - Create a record error

    Same here, I have a flow to upload attachments and it used to work perfectly, i started to have this error just yesterday. 

  • ccb_101 Profile Picture
    31 on 21 Dec 2022 at 13:23:08
    Re: Sales Force Connector - Create a record error

    Hi,

     

    Even if you try to create a basic flow with a form and try to enter the close date manually the same error appears.

     

    Screen Shot 2022-12-21 at 4.16.37 PM.png

     

    Does anyone have any ideas how to set the maximum length of this string as clearly it should NOT be 0.

     

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics