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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Salesforce Connector -...
Power Automate
Unanswered

Salesforce Connector - Update record (V3) throwing strange error

(2) ShareShare
ReportReport
Posted on by

Hi, I have a few flows doing updates in Salesforce in an integration. I use the Update record (V3) to make updates in Salesforce.

 

The connector looks like this:

allMy_APIs_0-1671542986246.png

Note that the Opportunity Close Date field is marked as Required, it is important.

 

So when I run the flows this happens:

allMy_APIs_1-1671543117551.png

 

Let's have a closer look at the error:

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

 

If I understand correctly the error says that this field only accepts string with a max length of '0' but, even assuming that the Date field is converted to string, it doesn't make sense to require it to be length 0.

 

Note that this is Standard Salesforce field, literally nothing in it can be changed, let alone the field type or the max length (which can't be changed anyway because the field type is Date).

 

Any guess?

Categories:
I have the same question (0)
  • schirls Profile Picture
    6 on at

    We also just started seeing this error on a new flow despite having several working flows using this connector.

  • ccb_101 Profile Picture
    31 on at

    Hello,

     

    I got the same error today in my flows. I'm using the Create Record action. I only ran into this issue when I saved my flow. Other flows which have had no modifications done are still working ok. So something, and I'm not sure what, is causing the date field to not be accepted.

     

    So for the time being I reverted to a copy of the flow I took a few months back. So don't make modifications to your flow which warrants a save.

     

    My issue is tracked here

    https://powerusers.microsoft.com/t5/Using-Connectors/Sales-Force-Connector-Create-a-record-error/m-p/1937075#M16995

     

    I believe the parameter validation check is broken and should not be set to 0.

  • dmytro_mews Profile Picture
    4 on at

    By any chance have you found what is different between broken version and restored in those jsons? I don't have any export of this flow that started throwing same error, so thought maybe I can fix it in export.

  • Community Power Platform Member Profile Picture
    on at

    @dmytro_mews  I tried modifying the JSON of the flow and roll back the version of the method from Patchitem_V3 to V2 (field OperationID). However Patchitem_V2 throws the same error, I don't know what else to modify at this point.

  • jeremy-richards Profile Picture
    5 on at

    I have a flow using the Salesforce connector that this morning began erroring out with the same error without any new changes applied. With mine it errors for the Update Record to update a Service Appointment. I'm pulling the appointment to be updated in the previous step with a Get Records operation, so I'm using the same data that's already there and it's telling me it's invalid. I've tried changing up some options since then. So far haven't been able to come up with a workaround though.

  • joelzehring Profile Picture
    208 on at

    We're encountering the same error on flows with Salesforce actions. Updating any flow in the solution (not just the flow with the Salesforce update action) and then exporting a new version of the solution appears to result in a similar validation error.

  • zachzepp Profile Picture
    8 on at

    We worked directly with MS support on this on Friday.  They reached out yesterday and said the rolled back the change and deployed a fix across all regions.

  • zachzepp Profile Picture
    8 on at

    We worked directly with MS support on this on Friday.  They reached out yesterday and said the rolled back the change and deployed a fix across all regions.

  • jeremy-richards Profile Picture
    5 on at

    I can confirm that my flow is now functional again. Thank you for this update.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard