HMAC timestamp is outside of the tolerance range

Solved

HMAC timestamp is outside of the tolerance range

Petlya
Shopify Partner
6 0 5

Good afternoon. I'm having a problem launching a shopify app using shopify CLI (npm init @Shopify/app@latest ). At the time of installing the application on the selected store (when you press the link https://i.imgur.com/livKw4s.png) , I got an authentication error occurs (screen from my terminal https://i.imgur.com/ycAhSD8.png ). I tried to re-login shopify. All in vaine. The application is with base code. I haven`t changed anything. This is my payload https://i.imgur.com/wUK1lW0.png. Can you help me?

Accepted Solution (1)

JoeyF
Shopify Staff (Retired)
35 7 12

This is an accepted solution.

I'm not an expert on this part of the code, but one thing comes to mind - The HMAC validation code mentions 90 seconds as the tolerance limit, any chance your computer's local clock is off by more than 90 seconds?

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

View solution in original post

Replies 3 (3)

JoeyF
Shopify Staff (Retired)
35 7 12

This is an accepted solution.

I'm not an expert on this part of the code, but one thing comes to mind - The HMAC validation code mentions 90 seconds as the tolerance limit, any chance your computer's local clock is off by more than 90 seconds?

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

Petlya
Shopify Partner
6 0 5

You are my hero!😀 I haven`t toggled that https://i.imgur.com/MUTByT2.png and I saw local time two minutes ahead.I spent two days trying to understand what`s going on. Thank you very much!! 

JoeyF
Shopify Staff (Retired)
35 7 12

Awesome! 🎉 

Happy I was able to help

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