You get this error if the Mals ID and Mal's Server fields haven't been filled in, or are incorrect, in the Catalog Setup area of your storeadmin.
Once you fill them in ( the info is in the welcome letter you get from Mal's ) remember to click the "UPDATE VARIABLES" button at the bottom of the page.