Ensure you have (the last version for 1.5.6). Newer SMAPI builds will not work. Download SMAPI for 1.5.6 from the official SMAPI GitHub releases page.