San Francisco suffered its first loss of the season on Sunday.