Hi my EOS 6d mark ii camera will not focus when I am trying to get a close up photo but will focus on a far away object. Please help.
The minimum focusing distance is the closest you can possibly get to a subject and obtain focus on that subject. This is a property of your lens, not your camera.
Please take a look at the specs for this Canon 24-105mm lens.
You’ll notice that the MFD is 1.48 feet / 45cm. This means that you physically cannot focus on an object that is closer to you than 1.48ft / 45cm.
If you are trying to get very, very close to an object, this type of photography is called Macro photography and there are dedicated macro lenses that have the ability to focus closer than your average lens. For example: this 100mm Macro lens’ MFD is 11.81 inches / 30cm.
Outside of getting a dedicated macro lens, one can use Extension Tubes with any lens to allow closer focusing, at the cost of not being able to focus far. How close you can get is dependent on the tube length and lens you’re using. The math gets fairly complex, especially with zooms, so the normal advice is simply: experiment.
Your camera lens projects a miniature image onto the surface of the digital image sensor. The distance, lens to image sensor can be measured. If we make this measurement while the camera is imaging a far distant subject, we title this distance, the focal length. When photographing nearby subjects, their images are likely out-of-focus unless you manually or the camera automatically changes the distance lens-to-image sensor. This act is called “focusing”. Many simple camera systems do not provide a mechanism for super close focusing.
One work-around is to mount a supplemental lens before the lens. These are called close-up lenses and they are reasonably inexpensive. They come in various strengths. I suggest you acquire a +3. Such a lash up, when mounted will allow focusing on objects about 330mm (13 inches) distance. Sorry to report that when a +3 close-up is mounted, distant subjects will be out-of-focus. You can test this idea by going to the drugstore and buying +3 reading glasses and mounting one of the lenses using duct tape. If you like what you are getting, and then purchase a photo-grade close-up lens.