Try to imagine what it would be like to be someone responding to your question. It’s very difficult, as is. We see an error message you got but we don’t know what specifically you did that resulted in that error message. So how can we help, other than completely doing it for you? There are some helpful tips here: How to ask a good question
Like here’s someone asking a related (I think) question with more specifics: Google REST APIs - YouTube
If you have a paid account, it seems there is also another way to access on the server via importing one of the packages installed there: Anvil Docs | List of Packages