Relatively new to this, and I'm struggling to get past the "Unhandled exception type SmartsheetException" in a pretty simple API GET using the java SDK for Smartsheet API. The following is basically copied from resources I've found online and I think I'm missing something really simple. It's throwing the exception at the "a.sheetResources()..." line. Any help would be greatly appreciated!
import com.smartsheet.api.*;
import com.smartsheet.api.models.*;
import com.smartsheet.api.oauth.*;
import java.io.FileInputStream;
import java.util.*;
public class Test
{public static void main(String[] args)
{String accessToken = "---";
Smartsheet a = SmartsheetFactory.createDefaultClient(accessToken);
PagedResult<Sheet> b = a.sheetResources().listSheets(null, null, null);
System.out.println(b);}}