Exclude things on remote

My sync keeps stopping because of permissions errors on the remote’s side.
How do i exclude that remote folder from syncing?

What’s the command you are running and what is the name of the directory you are trying to filter out?

https://rclone.org/filtering/ has some examples.