Skip to content

Getting a Failed to save Google admin options: Request failed with status code 500 when I enter client id and secret #44

@JLLucci

Description

@JLLucci

Which version of synchronization_google are you using?

4.1.0

Which version of Nextcloud are you using?

Nextcloud Hub 25 Autumn (32.0.2)

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Edge Version 142.0.3595.80 and Chrome Version 142.0.7444.176

Describe the Bug

Getting a Failed to save Google admin options: Request failed with status code 500 when enter client id and secret.

The resulting box has the following link: Failed to save Google admin options: Request failed with status code 500
Details
{
"stack": "AxiosError: Request failed with status code 500\n at zm (https://lucci-nextcloud.ddns.net/nextcloud/apps/google_synchronization/js/utils-CeN4tanh.chunk.mjs:2:140853)\n at XMLHttpRequest.L (https://lucci-nextcloud.ddns.net/nextcloud/apps/google_synchronization/js/utils-CeN4tanh.chunk.mjs:2:145479)\n at ln.request (https://lucci-nextcloud.ddns.net/nextcloud/apps/google_synchronization/js/utils-CeN4tanh.chunk.mjs:2:154267)",

It looks to me like the URL is malformed with extra spaces, but I don't have a clue where to look to fix it.

Expected Behavior

I expected that I would enter the client id and secret and not get an error 500 then go to data migration to hit the connect to google button.

To Reproduce

Not sure My original installation was working. I had powered it down, set it aside to set up a new installation on a new server and on the new server I first noticed the problem. I tried regenerating my Auth2.0 Client Id and secret inserting the new combination in connected accounts with no result. I then switched back to my original server and tried to reset my Client Id and secret in that installation and it gave me the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions