Flex.bi Support Center
Breadcrumbs

How To Fix Unauthorized Google Sheets import (for Enterprise clients)


Screenshot 2020-04-24 at 15.17.00.png

If you have encountered the Unauthorized error, while importing data from your existing Google Sheets application, do the following.


  1. Make sure that you have permission to access the file you are trying to import, by clicking on the file link on the Source Applications page.

    Screenshot+2020-04-24+at+15.19.29.png

    If you can't access the file, get the permission or use a google account, that has this permission.

  2. Click on the three dots icon.

    Screenshot+2020-04-24+at+15.19.53.png

  3. On the context-menu, click on the Export Definition option.

    Screenshot 2020-04-24 at 15.23.16.png

  4. A window opens containing the definition of your Google Sheets application. Click on the Copy to clipboard button.

    Screenshot 2020-04-24 at 15.24.40.png

  5. Now open any text editor, like Notepad on Windows or TextEdit on Mac computer, and paste the copied definition in a new file. Save it as a backup, just to be sure not to lose anything.

  6. Go back to flex.bi Source Applications page and click on the Add new source application button on the bottom of the page.

  7. On the next page, click on the Import definition option.

    Screenshot 2020-04-24 at 15.30.12.png

  8. In the Import source application definition window, past the application definition you copied some steps back and then click on the Create button.

    Screenshot 2020-04-24 at 15.31.48.png

  9. On the next page, select the google account that you want to use for accessing the file you want to import.

  10. If you are redirected to the This app isn't verified page, click on the link .

    Screenshot 2020-04-24 at 15.35.14.png

  11. Then click on the Go to flex.bi (unsafe) link. Don't worry, it is safe.

    Screenshot 2020-04-24 at 15.36.49.png

  12. On the Sign in with Google window, click on the Allow button.

    Screenshot 2020-04-24 at 15.38.19.png

  13. You will be redirected bak to flex.bi and the Source columns mapping page will be opened. Check, if the columns mapping is set and then click on the Start import button. If you have problems with column mapping, contact us at support@flex.bi.

    Screenshot+2020-04-24+at+15.39.38.png

  14. If all is good, the new application imports data and shows status Imported on the source applications list.

    Screenshot+2020-04-24+at+15.43.33.png .

  15. Now you can delete the original application and also its data, to remove duplicated data from your account. To do that, scroll to the original application with the status Error, click on the three dots icon and select the Delete option on the menu.

    Screenshot+2020-04-24+at+15.47.11.png

  16. On the popup that opens, click on the Also imported data button. Don't worry, you are only deleting the duplicated data.

    Screenshot 2020-04-24 at 15.48.31.png