I was following this tutorial on how to upload videos to youtube, and it worked perfectly until I decided to switch projects (let's call them Project 1
and Project 2
) because of a bad name (let's call them Project 1
and Project 2
) that would definitely bug me later on.
Then a problem occurred, where even though I had changed the client secret json file, it would still call Project 1
. After a good hour of programmer pain, I tried deleting the OAuth 2.0 client id, thinking it would default to Project 2
's OAuth. Unfortunately for me, that did not work and now both Project 1
and Project 2
are broken. Recreating the OAuth does nothing.
As you can probably tell, I'm not the best programmer, and this is the first time I've ever worked with this kinda stuff, and there doesn't seem to be anything online at all about this online at all. I would assume it would be something to do with stored cache or something along those lines, but I'm too scared to mess up my project even more, so I decided to create a StackOverflow account for the first time and ask some more experienced devs.
Any help at all would be super appreciated, and if you require anything I didn't add in this post, or think there's something I could improve please let me know as I'm quite new to this.
(code is in the linked tutorial as to not clutter the post)