AxiosError - Request failed with status code 401
{"error":{"code":401,"message":"Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","status":"UNAUTHENTICATED","details":[{"@type":"type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure","errors":[{"errorCode":{"authenticationError":"OAUTH_TOKEN_HEADER_INVALID"},"message":"Oauth token HTTP header is malformed."}],"requestId":"wNQS7h6yMCSRU-n1dAhI_A"}]}}
I think this is the issue. I had pipedream’s developer id in my code. It seems this is needed for this particular part of the api. Can you share the new one? I don’t think it’s a secret since I had the one before that
I’m disabling the app for now while we look into a solution for this - the Pipedream internal developer token should not have been visible in the past, as it is a secret that is treated like an API credential. Unfortunately I am not able to share the newly rotated credential, as this needs to be kept private.
I’ll regroup with the team to find a solution to be able to have this available to use for our users, but not visible.
Ok thanks. In the meantime I was able to revert back to my previous code that doesn’t rely on the app. Btw, do you know how can I fix that “Your current plan does not include access to shared connected accounts” issue?