Skip to content

Commit

Permalink
Add a hint about formatting during request forwarding (#1992)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe authored Jan 12, 2024
1 parent de00a0c commit f570345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ export function createWebhooks(
message:
'No signatures found matching the expected signature for payload.' +
' Are you passing the raw request body you received from Stripe? \n' +
' If a webhook request is being forwarded by a third-party tool,' +
' ensure that the exact request body, including JSON formatting and new line style, is preserved.\n' +
docsLocation +
'\n' +
whitespaceMessage,
Expand Down

0 comments on commit f570345

Please sign in to comment.