These codes were tagged as being importable within the Overwatch 2 Beta. It is possible that codes may have been invalidated, since the Overwatch 2 Beta is under active development. An import code that was created in Overwatch 2 Beta will not work in Overwatch 1.
The Workshop is unfortunately not currently available in the beta. However, custom lobby settings can still be shared with import codes.