Invalid trigger_id api flowTriggerReceive

DatLe
Shopify Partner
6 0 0

I create new extension from partner dashboard, but I can't call thi trigger from postman. Error: Invalid trigger_id

 

 

 

Replies 5 (5)
Jeff-Armstrong
Shopify Staff
Shopify Staff
10 2 0

Can you post the exact request you made?

Make sure you've created the trigger according to the instructions on this help page. There are also instructions for testing your trigger within Flow there.

To learn more visit the Shopify Help Center or the Community Blog.

DatLe
Shopify Partner
6 0 0

Yes, I use Partner Dashboard to create an extension trigger flow. And this is result:

DatLe_0-1693405939875.png

 

After that I call graphql from postman:

DatLe_1-1693406003882.png

 

It show error Invalid trigger_id.

Jeff-Armstrong
Shopify Staff
Shopify Staff
10 2 0

Sometimes this error can happen if you don't have the proper auth header.

To learn more visit the Shopify Help Center or the Community Blog.

DatLe
Shopify Partner
6 0 0

Do you have any documents here? I passed X-Shopify-Access-Token and Content-Type in header already

Jeff-Armstrong
Shopify Staff
Shopify Staff
10 2 0

See docs on auth here

 

Is it possible you're using an access token for a different shop or app?

To learn more visit the Shopify Help Center or the Community Blog.