TokenResponseException: Error:"deleted_client", Description:"The OAuth client was deleted.", Uri:""

Hello after some time my Sheet Service Provider asset stop working.
I can’t pull, I can’t push and I can’t create a new spreadsheet on Google Sheet from Unity.
My OAuth Token is still working properly.

If I duplicate my Sheet Service Privider asset (with the same OAuh token and everything basically just a duplicate) and then bind the duplicated asset in my tables, it suddenly works!

So it’s quite annoying that I would have to rebind all the reference to Sheet Service Provider every once in a while to a duplicate of the same file. I saw some people talking about this issue but never about duplicating the asset solving the issue. Most of the other thread talk about problem with Google but it clearly seems to be a problem of Unity in my case.

Did anyone had the same issue, how can I solve this?

Thats strange. It sounds like a problem with the token file. Can you try and delete the folder in Library/Google/.
This is where the token is stored, deleting it should force it to re-authenticate itself.

Where can I find Library/Google/. ?

In the project folder. The same folder that has the Assets directory.

Alright it works, thank you!

1 Like