3

Anyone faced this error while calling update_flow for appflow?

errorMessage": "An error occurred (ValidationException) when calling the UpdateFlow operation: Update Flow request failed due to:[Destination object for the destination connector can not be updated]", "errorType": "ValidationException", "stackTrace": [ " File "/var/task/lambda_function.py", line 7, in lambda_handler\n response = client.update_flow (\n", " File "/var/runtime/botocore/client.py", line 357, in _api_call\n return self._make_api_call(operation_name, kwargs)\n", " File "/var/runtime/botocore/client.py", line 676, in _make_api_call\n raise error_class(parsed_response, operation_name)\n"

What could be the cause.

User2019
  • 61
  • 1
  • 6
  • This is resolved. Appflow doesnt allow to change the destination folders using update_flow. you have to set it exact same as existing flow – User2019 Jun 15 '21 at 12:01
  • Hi @User2019, are you deploying AppFlow with CloudFormation? What does your template look like? – cyorkston Feb 16 '22 at 12:30

1 Answers1

1

This is resolved. Appflow doesnt allow to change the destination folders using update_flow. you have to set it exact same as existing flow.

User2019
  • 61
  • 1
  • 6