bigrquery throwing "Error: Invalid Credentials" when using query_exec() - r

I've been using the bigrquery library in r to run queries on my google big query project for the past 6 months. This morning I ran a simple query_exec() command that I've run a number of times over the past few days and I got the simple message "Error: Invalid Credentials".
I haven't been able to find documentation telling me how to fix this. I'm also not sure how to give code that will recreate the error.
The only thing that I can think of that changed is that I signed into a different gmail account.
Steps attempted so far:
I logged out of the gmail account and logged back in to the right one.
I uninstalled everything about R on my computer and reinstalled it all.
Still no luck.
I'm also realizing that there isn't a ton of information here.
If there's something else I can provide that I haven't thought of I will be happy to answer questions.
Thanks for any help you can provide.

After more searching I found a way to clear your access credentials in this question and answer: BigRquery - RUN_QUERY_JOB
To summarize, if you force the access credentials to be null set_access_cred(NULL), then get new credentials get_access_cred(); you can re-authenticate.

Related

Authenticating Google Cloud Storage in R Studio

I know a similar question has been asked (link), but the response didn't work for me.
TLDR: I keep running into errors when trying to authenticate Google Cloud Storage in RStudio. I'm not sure what is going wrong and would love advice.
I have downloaded both the GCS_AUTH_FILE (created a service account with service admin privileges'--downloaded the key associated with the service account) and also downloaded GAR_CLIENT_WEB_JSON by creating a OAuth 2.0 Client ID and downloading that associated JSON file.
I've tried authenticating my Google Cloud Storage in several ways and hit different errors.
Way 1-automatic setup:
gcs_setup()
Then I select any one of the options, and get the error: Error in if (file.exists(local_file)) { : argument is of length zero And that error happens no matter which of the three options I select.
Way 2 - basic, following manual setup instructions from the package:
Sys.setenv("GCS_DEFAULT_BUCKET" = "my-default-bucket",
"GCS_AUTH_FILE" = "/fullpath/to/service-auth.json")
gcs_auth()
In this case, GCS_AUTH_FILE is the file that I mentioned at the beginning of this post, and the GCS_DEFAULT_BUCKET is the name of the bucket. When I run the first line, it seems to be working (nothing goes awry and it runs just fine), but when I run gcs_auth() I get taken to a web browser page that states:
"Authorization Error
Error 400: invalid_request
Missing required parameter: client_id"
Way 3: Following the method from the post that I linked above
This way involves manually setting the .Renviron file w/ the GCS_AUTH_FILE and GAR__CLIENT_WEB_JSON locations, and then running gar_auth(). And yet again, I get the exact same error as in Way 2.
Any ideas about what could be going wrong? Thanks for your help. I wasn't sure how to put in totally reproducible code in this case, so if there is a way I should do that, please let me know.

How to solve W/NetworkRequest: No App Check token for request?

I cannot pass user info to firebase database, and I think this is the issue. My Authentication part works well, and can pass image to firebase storage. Can anyone explain to me what does this error mean?
Here is my method:
Also, in logcat, it shows "one way function results will be dropped but finished with status OK and parcel size 4", which I think is the same issue if I am not wrong
Here are my dependencies:
Can anyone help me please?
Searching elsewhere I found this answer:
"Seems like you have enabled App Check in your Firebase project. This feature was announced a few days ago, so it's unlikely you will find any info online. Check the docs to see if you have followed all the setup steps: https://firebase.google.com/docs/app-check "

Why is Bing Custom Search API throwing an error when I make a call through node-js?

I was using Bing Custom Search API for the past week with no problems thanks to the free trial, but today, I tried upgrading to the S1 plan, since the API was sending error messages. I tried regenerating the key as well, but despite doing both of these things, I was still getting errors and unable to use the API.
However, I was able to make calls using: https://www.customsearch.ai/applications, where I was able to use my API key to test endpoints and get the results I expected. What baffles me is that my nodejs code which hasn't been modified aside from the subscription key should still work with the upgraded plan, but it doesn't.
I should be able to help here. Let us do little bit of troubleshooting once:
First go to https://www.customsearch.ai/applications -> click on your instance name ->Click on "Production" tab on top -> Try making API call on this page by providing Query and Subscription key you got. If this works, go to the next step.
On the page mentioned above you would have seen Custom Configuration ID and Subscription Key. Make sure those two are same in your node.js code. Ideally this should work.
If it still doesn't work, please share your error code so that I can get better understanding of the error you are getting.

MSG.exe Error 5 getting session names

I am trying to send a message through the command line using msg.exe on Windows 7. I have successfully gotten everything to work except for the Session ID. I get the error Error 5 getting session names. After searching online I found that I can edit the registry to remove this error using regedit.exe. However, on the domain I am on, I do not have permissions to edit the registry. I can only view it.
I know the individual session ID's of the users that I am trying to send a message to.
Super user hasn't really been any help... How do I prevent the error from occurring without editing the registry?
You need to log into the user, that the computer you are trying to send to is on.You will need to do is go to credential manager, and add the credentials. That error message will go away.

Gracenote Entourage Error 130/74

I first created my Gracenote developer account last night, and without issue, was able to match TV shows using the sample applications.
However today, I'm receiving the following error continuously:
ERROR GCSP: Hello error: [130] Please contact Gracenote ODP 06176 [Name: Mark Pringle] [App: Echos Imterface] support.
[Gracenote Error 130/74] (0x90160165)
Any help would be much appreciated!
The GNSDK error code is the last 4 digits of the hex number at the end. If you check out the gnsdk_error_codes.h file, you can see that 0165 is GNSDKERR_InvalidClientID.
Assuming you are still setting your ID correctly, I am not sure why such an error would be returned by the servers. I could hazard some guesses (maybe you went so far past your quotas that they blocked it?) but I don't really know.
Either way, I would recommend getting a new client ID from the Gracenote dev site and see if that works.
hope this helps!

Resources