CopyToContainer: Could not find the file in container

I’m using the Go API Client.CopyToContainer to copy a file into the container; however, I’m getting a “Could not find the file” error message. I’m a little puzzled because I’m not looking for a file in the container, but rather trying to create the file.