Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Sales Force Connector - Create a record error

(2) ShareShare
ReportReport
Posted on 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.

  • Verified answer
    ccb_101 Profile Picture
    31 on at
    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 at
    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 at
    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 at
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics