This only works with Microsoft business accounts, personal accounts do not support fetching data from Excel sheets.
Support for workbooks stored in OneDrive Consumer platform is still not available. At this time, only the files stored in business platform are supported by Excel REST APIs.