<#3747 [BUG] remote sync map_tasks> Issue created...
# flytekit
c
#3747 [BUG] remote sync map_tasks Issue created by lauralindy ### Describe the bug Can't seem to use FlyteRemote to sync workflows/tasks with map_task
Copy code
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.NOT_FOUND
	details = "missing entity of type TASK with identifier project:"flytetester" domain:"development" name:"MAP_TASK_NAME" version:"VERSION" "
	debug_error_string = "UNKNOWN:Error received from peer ipv4:10.34.2.243:443 {grpc_message:"missing entity of type TASK with identifier project:\"flytetester\" domain:\"development\" name:\"MAP_TASK_NAME\" version:\"VERSION\" ", grpc_status:5, created_time:"2023-06-02T15:32:48.383186-07:00"}"
>
### Expected behavior expect to be able to see the map_task tasks' info ### Additional context to reproduce
Copy code
task_execution = client.get_task_execution(flytekit.models.core.identifier.TaskExecutionIdentifier(
    task_id=task_identifier, 
    node_execution_id=node_exe_identifier,
    retry_attempt=0
))
flyte_task_exe = flytekit.remote.executions.FlyteTaskExecution.promote_from_model(task_execution)
remote.sync_task_execution(
    execution=flyte_task_exe,
)
where task_identifier and node_exe_identifier is for the map_task or call
Copy code
synced = remote.sync(
    execution=execution,
    sync_nodes=True
)
on the workflow level. ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte