mikepaulx
WWasp
•Created by mikepaulx on 12/30/2024 in #đŸ™‹questions
Error on calculating daily tasks
I somehow had my private key changed as I messed around with the "\n"s and it became different than what I initially received from google, now I got the key from there again and finally it s working :boi:
The link above was the solution, just make sure to put the correct string in
7 replies
WWasp
•Created by Sven on 11/19/2024 in #đŸ™‹questions
I get error with the job geting daily stats
just discovered that I somehow had my private key changed as I messed around with the "\n"s and it became different than what I initially received from google, now I got the key from there again and finally it works :boi:
thanks a lot!
69 replies
WWasp
•Created by Sven on 11/19/2024 in #đŸ™‹questions
I get error with the job geting daily stats
encoded it with https://stackblitz.com/edit/stackblitz-starters-fvhlsc?file=index.js&view=editor as well and I ended up getting the same encoded string as I did by encoding it in my own terminal :sadboi:
it didn't make sense why that was, and the only problem had to be elsewhere
69 replies
WWasp
•Created by Sven on 11/19/2024 in #đŸ™‹questions
I get error with the job geting daily stats
Hi I have the same error and still couldnt manage to fix it
69 replies
WWasp
•Created by mikepaulx on 12/30/2024 in #đŸ™‹questions
Error on calculating daily tasks
I correctly set up the environment variables from google analytics, namely the
GOOGLE_ANALYTICS_CLIENT_EMAIL
GOOGLE_ANALYTICS_PRIVATE_KEY
GOOGLE_ANALYTICS_PROPERTY_ID
from the service account I took the private_key and I encoded it with
echo -n "-----BEGIN PRIVATE KEY-----\nMI...A++eK\n-----END PRIVATE KEY-----\n" | base64
encoded it with https://stackblitz.com/edit/stackblitz-starters-fvhlsc?file=index.js&view=editor as well and I get the same encoded string
I am using nodejs v20.18.1 and ran npm upgrade in case @grpc/grpc-js is outdated, but still with no success
7 replies