Skip to content

'dict' object has no attribute 'decode when validatign webhook #5119

Discussion options

You must be logged in to vote

Yes, that's expected. If you serialise the payload again, you take the risk of not matching the original payload used to compute the signature.

That's why it's important to use the raw payload. With Django, you should access it through request.body

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Yawan-1
Comment options

@frankie567
Comment options

Answer selected by Yawan-1
@Yawan-1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdk/python Questions and feedback regarding Python SDK
2 participants
Converted from issue

This discussion was converted from issue #5118 on February 27, 2025 09:40.