adrianhajdin / project_tiktik

https://jsmastery.pro
599 stars 182 forks source link

"Missing required parameter 'client_id'" stack: "gapi.auth2.ExternallyVisibleError: Missing #1

Open ishitamittal1210 opened 2 years ago

ishitamittal1210 commented 2 years ago

Screenshot (550)

jenperez613 commented 2 years ago

I was getting the same "Uncaught; dw; missing required parameter "client_id", and then re-checked the value process.env.NEXT_GOOGLE_PUBLIC_API_TOKEN in _app.ts and Sidebar.tsx. Now, that error went away, and I get a new error: "[GSI LOGGER]: The given client ID is not found" Image 7-7-22 at 8 48 AM

vaniadimova commented 2 years ago

Did anyone get 404 on upload.tsx ?

SANKARAMDAS commented 2 years ago

Hey @jenperez613 are you able to fix the error? And one more thing, are you able to lgoin?

imvikashdev commented 2 years ago

Getting this same error I guess this error is due to some sanity token permission Check logs in IDE image

imvikashdev commented 2 years ago

You can solve this issue by removing older google login button from sidebar component

This code block, mentor will remove it at the end of lecture part 1 image

jenperez613 commented 2 years ago

Hey @jenperez613 are you able to fix the error? And one more thing, are you able to lgoin?

I was able to fix it - had to change NEXT_GOOGLE_PUBLIC_API_TOKEN to NEXT_PUBLIC_GOOGLE_API_TOKEN and it worked.