Giter Site home page Giter Site logo

Comments (7)

helfrichmichael avatar helfrichmichael commented on June 10, 2024

Hmmm you're getting a "accessNotConfigured" error which can mean various things all having to do with how you've granted access to APIs in Google Cloud Platform.

Here's some context:
https://cloud.google.com/resource-manager/docs/core_errors#FORBIDDEN
https://developers.google.com/console <- Double-check that you've enabled the APIs according to https://github.com/google/loaner/blob/master/docs/gngsetup_part1.md#step-2-set-up-an-app-engine-project-in-google-cloud (Specifically item 6 in that list).
https://console.developers.google.com/apis/api/admin.googleapis.com/overview (Admin SDK API)

from loaner.

WinsenTjhang avatar WinsenTjhang commented on June 10, 2024

Found the problem, I didn't enable my admin SDK API.

Thank you!

Proceeding: Accessing the web page and now got this error:

image

The authorised URI looks good

image

Does it have something to do with the different types of quotations of WEB_CLIENT_IDS?

image

from loaner.

helfrichmichael avatar helfrichmichael commented on June 10, 2024

You need to whitelist the https:// URL since you've only whitelisted the HTTP URL.

from loaner.

WinsenTjhang avatar WinsenTjhang commented on June 10, 2024

It works now after rebuilding the apps with the zip file (taking suggestions from other cases). I did change the whitelist to https:// before rebuilding it from scratch, but still got the same error.

Proceeding: Starting initial bootstrapping

image

OU structure

image

Any idea what is the issue?

from loaner.

helfrichmichael avatar helfrichmichael commented on June 10, 2024

Any additional errors in the Google Cloud Platform logging view for this request?

Additionally, what does your ADMIN_EMAIL look like in constants.py? I'm wondering if the email is formatted wrong. It should probably be your GSuite role account that you generated for this app.

Example of a properly formatted admin email: ADMIN_EMAIL = '[email protected]'

from loaner.

WinsenTjhang avatar WinsenTjhang commented on June 10, 2024

The admin email is formatted correctly.

But anyway, I have got the app working now after deploying everything from scratch.

I will continue testing the apps and features. Thanks!

from loaner.

helfrichmichael avatar helfrichmichael commented on June 10, 2024

Great to hear! I'll close this out since it's been resolved.

from loaner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.