Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Resolved] CRITICAL - Potential Google Sheets Usage Break [Google Verification] Starts 3/2/2024 #123

Open
nhmkdev opened this issue Mar 2, 2024 · 7 comments
Assignees

Comments

@nhmkdev
Copy link
Owner

nhmkdev commented Mar 2, 2024

[Original message removed, keeping this here for anyone that hits issues]

Google verification complete for the Google Sheets usage available in CardMaker 1.3.0.0. Application accepted as of 3/5/2024! 👍

@nhmkdev nhmkdev self-assigned this Mar 2, 2024
@nhmkdev
Copy link
Owner Author

nhmkdev commented Mar 2, 2024

If you are going to attempt to use a version older than 1.3.0.0 with Google Sheets you can manually add google references to the .cmp project file. They are XML and you'll need to know which layout to add the reference to. The format is as follows:

<Reference RelativePath="google;[reference name];[Child Sheet Name];[sheet id (long sequence of random characters in the url)]" Default="true" />

Notes:

  • Only one reference should be marked as Default="true")
  • The reference name is whatever you want
  • Child Sheet Name must match exactly the name of the sheet within your Spreadsheet
  • Sheet id must be exactly the same as the id from the sheets url

Example (with id replaced with 1234567890):

<Reference RelativePath="google;Game Data;Game Data Sheet;1234567890" Default="true" />

@nhmkdev
Copy link
Owner Author

nhmkdev commented Mar 2, 2024

Update:

  • drive.readonly has been removed from the OAuth flow.
  • CardMaker versions prior to 1.3.0.0 version will no longer be able to select Sheets when adding a Google reference
  • Re-verification is underway with a new demonstration video and updated request

At this point I basically wait until they respond with additional requests or a final approval. ✔️

@Blkx-Darkreaper
Copy link

Just to confirm, this is the cause of the following then?
Google Spreadsheet access exception: The service drive has thrown an exception. HttpStatusCode is Forbidden. Request had insufficient authentication scopes.

This is from v1.2.0.0

@mbancha
Copy link

mbancha commented Mar 5, 2024

@nhmkdev I (re)loaded a google Sheets reference and it seems to work fine, except it's not finding the defines worksheet. Is that just broken for now, or is there a different method to use?

@nhmkdev
Copy link
Owner Author

nhmkdev commented Mar 6, 2024

@Blkx-Darkreaper

Just to confirm, this is the cause of the following then? Google Spreadsheet access exception: The service drive has thrown an exception. HttpStatusCode is Forbidden. Request had insufficient authentication scopes.

This is from v1.2.0.0

Yea that's the exact error I would expect from an attempt to add a spreadsheet reference in 1.2.0.0.

@nhmkdev
Copy link
Owner Author

nhmkdev commented Mar 6, 2024

@nhmkdev I (re)loaded a google Sheets reference and it seems to work fine, except it's not finding the defines worksheet. Is that just broken for now, or is there a different method to use?

@Spiz

I'm assuming you are referring to project wide defines (I think reference defines are working okay) -- You may need to reconfigure the defines override in the (right-click) Layouts > Project Settings... dialog.

Example:
image

Which version of CardMaker are you using? Some older versions allowed references (and defines) to just be the spreadsheet name in Google. Unfortunately this will not work and you'll have to re-associate so it has the Spreadsheet ID value. I just hit this in an old project to take the screenshot above.

@mbancha
Copy link

mbancha commented Mar 6, 2024 via email

@nhmkdev nhmkdev changed the title CRITICAL - Potential Google Sheets Usage Break [Google Verification] Starts 3/2/2024 [Resolved] CRITICAL - Potential Google Sheets Usage Break [Google Verification] Starts 3/2/2024 Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants