extension ware house is not work
The Extension Warehouse works just fine but it does not support SketchUp 2021.
This is one of the Unavailable Features in Unsupported Versions of Sketchup.
See more:
End of Support Policy
You still can use with limited functions via its web site opening it in your web browser:
SketchUp Extension Warehouse