1

after launching this command from the visual studio code terminal :

 sfdx force:source:deploy --sourcepath .\force-app\main\default\ --apiversion 47.0

I receive the following errors:

force-app\main\default\flows\Chargent.flow-meta.xml                                                Property 'start' not valid in version 46.0
force-app\main\default\flows\Automated_Access.flow-meta.xml                                        Property 'start' not valid in version 46.0
force-app\main\default\flows\Automated_Removal.flow-meta.xml                                       Property 'start' not valid in version 46.0

how can I fix?

EDIT: I deployed succesfully by changing the attribute "apiVersion" of the file sfdx-config.json to "47.0". For some reason the param --apiversion on the command line didn't work as expected

  • 1
    Did you make any changes to those flows? What is the specific error? – Alex Edelstein Dec 8 '19 at 15:55
2

Obviously your deployment command doesn't take your "--apiversion 47.0" for real. Try increasing your API version in the project file. Or try clearing the .sfdx folder in order to delete any cached stuff, that way it might recognize your requested change in the API version.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.