Can you screw a lump of wood to the leg from where the bolt should go through and then go secure wood through the side of the u shaped recess that the leg sits in?
You can buy a 'T' nut https://www.toolstation.com/pronged...MIooPPr-_x7wIVg8x3Ch3EcwC5EAQYAyABEgJfOfD_BwE
However unless there is adjustment in the leg you are going to have to machine something to make sure it's the same length.
As you have just purchased it why not talk to the store you bought it from? Or even the manufacturer, the will solve the issue for you as everything is covered by a 1year warranty in the UK.
As you have just purchased it why not talk to the store you bought it from? Or even the manufacturer, the will solve the issue for you as everything is covered by a 1year warranty in the UK.

I'm not sure what's on the other side but drilling a hole through the base material and mechanically fixing is what I'd do, rather than try to glue/epoxy it back in.
A T nut, rivnut, or something low profiled would be good. I'm not sure about a countersunk screw, it depends how thick the base material is. I'd maybe go for something in the region of a cheese head screw or coach bolt.
Welding is an option if you want to chew on removing the coating and then paint it after.
Anyway, getting 50% refund, we'll fix the table in some manner, win win.
The frame sits flush to the table top, so unless the frame is 'hollow' or in some form of U shape, it will need to sink in somehow.
I meant drill a hole parallel to the table top so that it goes through both sides of the upstand of the channel section and through the actual tube of the leg.

Sorry if I've missed this, but what about epoxying a nut in that recessed part, that way it will be bonded to the sides so should be pretty well held. You then still have the option to remove it (as in whatever bolted to it) if needed.
