Cannot save my json into Homey Developer

Issue #3 resolved
Erwin Vlaswinkel created an issue

When is copy my text file into Homey Devloper → Google Services
I see a message box that it is saved,

but nothing is saved

Comments (19)

  1. arie repo owner

    Hey Erwin,

    Could you share you JSON here with me (without the personal/private stuff offcourse)?

    And, if you type in a projectname, is the projectname saved, or is it also cleared/empty after you goto settings again (after saving it first)?

  2. Erwin Vlaswinkel reporter

    this is what i have

    {
    "type": "service_account",
    "project_id": "empty",
    "private_key_id": "empty",
    "private_key": "-----BEGIN PRIVATE KEY-----\key==\n-----END PRIVATE KEY-----\n",
    "client_email": "xxxxxxx@thehomeyproject.iam.gserviceaccount.com",
    "client_id": "empty",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/homey1%40thehomeyproject.iam.gserviceaccount.com"
    }

    everytime it gets cleared

  3. arie repo owner

    Is there a change that the double-quote’s (“) are copied wrong?

    Because sometimes it will be copied with “ and ”?

    It looks the same here, but in reality it is not the same.

    My advices: create a new JSON key (Google Cloud Platform--> iAM & Admin → Service Accounts → project → accountname--> keys--> create new key).

    Save the .json as a .json on your disc and open it in notepad/kladblok. Then copy/paste.

    If you stiull get stuck, i can help via teamviewer if you like.

  4. Erwin Vlaswinkel reporter

    Hoi,
    Nee het is nog niet gelukt, als ik een nieuwe file aanmaak, dan kan ik hem gewoon niet opslaan,

    Ik snap het niet, ik begrijp niet wat er verkeerd gaat of wat ik verkeerd doe!

  5. Erwin Vlaswinkel reporter

    ja dat kan zeker, wellicht dat je morgen overdag even tijd hebt

    of anders vanavond ?

  6. arie repo owner

    Ja, morgen ben ik de hele dag vanuit huis aan het werk.
    Ik heb wel veel vergaderingen; dus ben de hele dag bereikbaar, maar mogelijk niet direct.

  7. arie repo owner

    Hey, mijn systeem is een memorytest aan het uitvoeren en zal nog ff duren.

    Ik laat het weten als het klaar is.

  8. Log in to comment