This topic was automatically generated from Slack. You can find the original thread here.
Hey guys!
I ran into an issue using pipedream connect in my SaaS, in a few words, I try to run the configureComponent function for google_my_business but I get an error each time I try. I already faced this kind of issue and successfully solved it, but this time I tested a lot of stuff and it didn’t worked out. Can someone help?
Here is my code:
const pd = createBackendClient({
environment: PIPEDREAM_ENV,
projectId: PIPEDREAM_PROJECT_ID,
credentials: {
clientSecret: PIPEDREAM_CLIENT_SECRET,
clientId: PIPEDREAM_CLIENT_ID
}
})
const response = await pd.configureComponent({
componentId: {
key: "google_my_business-create-update-reply-to-review"
},
configuredProps: {
google_my_business: {
authProvisionId: "apn_XXXXXX"
}
},
externalUserId: "org_XXXXX",
propName: "account"
} as any)
And here are the results:
{
"errors": [
"{\"code\":\"UserError\",\"message\":\"bad options response for prop: account\",\"ts\":\"2025-07-21T20:55:54.677Z\",\"cellId\":null,\"stack\":null,\"$debug\":null,\"name\":\"UserError\"}"
],
"observations": [
{
"ts": 1753131354669,
"k": "error",
"err": {
"name": "TypeError",
"message": "Cannot read properties of undefined (reading 'oauth_access_token')",
"stack": "TypeError: Cannot read properties of undefined (reading 'oauth_access_token')\n at Object._getHeaders (file:///pipedream/dist/code/db122c037526770426a79fa85e3142ddab9b36e630d99e0ee292b47b9c972443/code/app/google_my_business.app.mjs:62:53)\n at Object._httpRequest (file:///pipedream/dist/code/db122c037526770426a79fa85e3142ddab9b36e630d99e0ee292b47b9c972443/code/app/google_my_business.app.mjs:68:31)\n at Object.listAccounts (file:///pipedream/dist/code/db122c037526770426a79fa85e3142ddab9b36e630d99e0ee292b47b9c972443/code/app/google_my_business.app.mjs:93:41)\n at Object.options (file:///pipedream/dist/code/db122c037526770426a79fa85e3142ddab9b36e630d99e0ee292b47b9c972443/code/app/google_my_business.app.mjs:12:45)\n at /var/task/node_modules/@lambda-v2/component-runtime/src/configureProp.js:82:43\n at captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:11)\n at configureProp (/var/task/node_modules/@lambda-v2/component-runtime/src/configureProp.js:81:28)\n at MessagePort.<anonymous> (file:///var/task/component_maker.mjs:186:15)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)\n at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)"
}
}
],
"t": {
"ar": 1753131354452,
"br": 1753131354651,
"bp": 1753131354651,
"bls": 1753131354651,
"ble": 1753131354677,
"lcp": 1753131354668,
"le": 1753131354669
}
}
I would be very grateful if someone can spend some time on this ![]()