> Verify that the Shopify webhook is sending the correct headers. In Shopify Admin > Settings > Notifications > Webhooks, check the webhook secret and regenerate if needed.
There is no ability to regenerate the webhook secret within Shopify directly.
When I click auto sync off and I check the Shopify log entries I can see that the old webhook is deleted
When I click auto sync on, the shopify logs show the new webhook is created
At this point in time if I click on latest error, I can see the error appear on both actions for auto sync on and off
Error text:
Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.NavNclInvalidHeaderException' was thrown.
Error Code:
Error callstack:
"Shpfy Communication Mgt."(CodeUnit 30103).EvaluateResponse line 22 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Communication Mgt."(CodeUnit 30103).ExecuteWebRequest line 31 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Communication Mgt."(CodeUnit 30103).ExecuteGraphQL line 10 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Communication Mgt."(CodeUnit 30103).ExecuteGraphQL line 4 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Communication Mgt."(CodeUnit 30103).ExecuteGraphQL line 6 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Webhooks API"(CodeUnit 30251).RegisterWebhookSubscription line 11 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Webhooks Mgt."(CodeUnit 30269).EnableWebhook line 13 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Webhooks Mgt."(CodeUnit 30269).EnableOrderCreatedWebhook line 4 - Shopify Connector by Microsoft version 26.5.38752.38944
"Shpfy Shop"(Table 30102)."Order Created Webhooks - OnValidate"(Trigger) line 5 - Shopify Connector by Microsoft version 26.5.38752.38944
> Ensure the Business Central environment URL in Shopify matches the one in the connector setup.
It does match, we are able to manually schedule the order sync job and that works perfectly.
> Update to the latest cumulative update for your Business Central version.
We've updated from 26.4 to 26.5, that has not done anything.
> If the issue persists, enable telemetry in Business Central and check the Shpfy Communication Mgt. codeunit logs for header validation failures.
I will try to get this enabled..