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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sales Force Connector ...
Power Automate
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.

Categories:
  • ccb_101 Profile Picture
    31 on at

    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.

  • ahmad_salameh Profile Picture
    2 on at

    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

    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'.'.

  • Verified answer
    ccb_101 Profile Picture
    31 on at

    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

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard