Hi Angie,
Welcome to the Google Docs Editors Help Community.
Could you please share a screenshot of the error message?
Note : When you first use IMPORTRANGE between two sheets, Google Sheets will prompt you to allow access to the source sheet. Ensure that you've clicked the "Allow access" button after entering the formula. Without this, the data won't pull through.