Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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?

  • jeremy-richards Profile Picture
    5 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

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

  • zachzepp Profile Picture
    8 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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.

  • joelzehring Profile Picture
    208 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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.

  • jeremy-richards Profile Picture
    5 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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.

  • Community Power Platform Member Profile Picture
    on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

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

  • dmytro_mews Profile Picture
    4 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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.

  • ccb_101 Profile Picture
    31 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

    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.

  • schirls Profile Picture
    6 on at
    Re: Salesforce Connector - Update record (V3) throwing strange error

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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 >

Featured topics