My fig tree is bearing fruit since 2 to 3 years. However, the fruits are hollow inside. I have seen photos that show fleshy things inside, but mine is empty. Has a thick wall which has a pink lining only.
Certified GKH Gardening Expert
It sounds like your fig is failing to pollinate. Some varieties need a fig wasp to pollinate properly. Typically, the fig will drop the fruit if pollination does not happen, but yours may not be doing this. Here is more information on the relationship between the plant and the wasp: