Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Create webhook with shopify-api-node Nodejs

Solved

Create webhook with shopify-api-node Nodejs

Dropr
Visitor
1 0 0

Hi, 

I have an issue when create webhook via shopify-api-node lib in my NodeJS code.

1. I setting my access scope in my private App.Screenshot 2023-12-09 at 11.40.30.png

2. I config api to my code and have an errors. Screenshot 2023-12-09 at 11.42.38.png

Do I make something wrong with it? Thanks

Accepted Solution (1)

RJK90
Shopify Partner
14 2 3

This is an accepted solution.

Hi @Dropr ,

Maybe It appears there might be an issue with the address field. Please ensure that the address follows the format "https://testhello.com/test". My testing using "www.google.com" in the address resulted in the following error: {"errors":{"address":["is invalid"]}}.

On another note, I have double-checked and confirmed that your scope is correctly set to generate the products/update webhook. However, it's advisable to also verify the access token of your private app.

Hope! This will help you. 🙂

View solution in original post

Reply 1 (1)

RJK90
Shopify Partner
14 2 3

This is an accepted solution.

Hi @Dropr ,

Maybe It appears there might be an issue with the address field. Please ensure that the address follows the format "https://testhello.com/test". My testing using "www.google.com" in the address resulted in the following error: {"errors":{"address":["is invalid"]}}.

On another note, I have double-checked and confirmed that your scope is correctly set to generate the products/update webhook. However, it's advisable to also verify the access token of your private app.

Hope! This will help you. 🙂