user-1
(User 1)
July 10, 2025, 8:51pm
1
This topic was automatically generated from Slack. You can find the original thread here .
Hello team - trying to deploy a shopify new product update trigger via connect… however been getting this error… can anyone confirm if this payload is correct?
{
"triggerId": "shopify_developer_app-new-product-updated",
"externalUserId": <externalUserId>,
"webhookUrl": "https://webhook-test.com/30ed02837ceed23590da98e58a32459d",
"configuredProps": {
"app": {
"authProvisionId": "app_qeh7a4"
},
"projectId": "proj_VbsJbEP"
}
}
user-1
(User 1)
July 10, 2025, 8:51pm
2
Hey , the auth provision ID looks off. I suspect you’re inputting the app ID, while it should be the account ID.
Check the doc here https://pipedream.com/docs/connect/components/#configure-the-component
user-1
(User 1)
July 10, 2025, 8:51pm
3
Hello thanks a lot for the response…actually tried the account id previously also but had this error…
user-1
(User 1)
July 10, 2025, 8:51pm
4
Hi , could you share the minimal steps to reproduce your issue if possible?
For example, could you share the code you used to deploy the trigger?
user-1
(User 1)
July 10, 2025, 8:51pm
5
hello thanks… so cloned “managed-auth-basic-next-app” …
and added this on server.ts
export async function deployTrigger(triggerId: string, externalUserId: string, webhookUrl: string , configuredProps: any) {
console.log("Server: deployTrigger called with:", {
triggerId,
externalUserId,
webhookUrl,
configuredProps
});
try {
const requestOpts: DeployTriggerOpts = {
triggerId,
externalUserId,
webhookUrl,
configuredProps,
};
const response: DeployTriggerResponse = await pd.deployTrigger(requestOpts);
console.log("Server: deployTrigger response:", response);
} catch (error) {
console.error("Server: deployTrigger error:", error);
throw error;
}
}
user-1
(User 1)
July 10, 2025, 8:51pm
6
and added this on client.tsx to deploy the trigger
const handleDeployTrigger = async () => {
const webhookUrl = "https://webhook-test.com/30ed02837ceed23590da98e58a32459d";
const triggerId = `shopify_developer_app-new-product-updated`;
const configuredProps = {
app: {
authProvisionId: "apn_WYhKXma",
},
projectId: "proj_VbsJbEP",
};
try {
const res = await deployTrigger(triggerId, externalUserId, webhookUrl, configuredProps);
console.log("deployTrigger SUCCESS:", res);
} catch (error) {
console.error("Error deploying trigger:", error);
// Log additional error details
if (error instanceof Error) {
console.error("Error message:", error.message);
console.error("Error stack:", error.stack);
}
}
};
user-1
(User 1)
July 10, 2025, 8:51pm
7
also i tried a different shopify account and used the builder… i think got the same error…
user-1
(User 1)
July 10, 2025, 8:51pm
8
Got it . We’ll take a look and get back to you.
Hi @U05FUC30Q01 , could you help me to take a look once you have a chance
user-1
(User 1)
July 10, 2025, 8:51pm
9
super super thanks a lot guys…
user-1
(User 1)
July 10, 2025, 8:51pm
10
Hey , it may be something related to your configuration. Could you try in our demo app and check the code/debug tab and see if the configuration matches what you’re sending?
Pipedream Connect provides managed authentication for 2,700+ APIs and access to 10,000+ prebuilt tools. Roll your own frontend with the server SDK or use @pipedream/connect-react to get started in minutes.
user-1
(User 1)
July 10, 2025, 8:51pm
11
Hello thanks a lot… sorry but got an error…
for getaccounts…
user-1
(User 1)
July 10, 2025, 8:51pm
13
What did you receive in the webhookUrl (webhook-test.com )?
user-1
(User 1)
July 10, 2025, 8:51pm
14
do you have an account for Shopify Developer? Would you mind checking if there’s an error in the component trigger?
user-1
(User 1)
July 10, 2025, 8:51pm
15
sorry didnt recieve any on my webhook
user-1
(User 1)
July 10, 2025, 8:51pm
16
F.Y.I The product update works on Pipedream UI
user-1
(User 1)
July 10, 2025, 8:51pm
17
yups also tried to add that shopify account using pipedream ui and didnt have any issues… considering now that there is something im missing when depoying via pipedream connect deploy trigger…
user-1
(User 1)
July 10, 2025, 8:51pm
19
I tested on Pipedream connect demo and I can deploy the trigger (image below).
, could you try to create a new Pipedream HTTP source and use it for the webhook url to see if it works? It works for my case
user-1
(User 1)
July 10, 2025, 8:51pm
20
Hello thanks a lot… unfortunately tried it… still got the same error… i think will try a different shopify account… or maybe a different app…