ORA-00959: Tablespace '$name' does not exist when using impdp
Create the tablespace

or

remap the tablespace to use an existing one, with the remap_tablespace parameter:

impdp ... remape_tablespace=$name:$name2


Where $name2 is the name of an existing tablespace.