Ankusa.SDK.InvalidSignatureError exception (ankusa_sdk v0.6.0)

Copy Markdown View Source

A delivery's Standard Webhooks signature does not verify (Ankusa.SDK.Signature.verify/4). Always retryable: false: answer 401.

:code is "invalid_secret", "missing_header", "invalid_timestamp", "timestamp_out_of_tolerance" or "no_matching_signature"; :field names the header at fault (nil for "invalid_secret").

Summary

Types

t()

@type t() :: %Ankusa.SDK.InvalidSignatureError{
  __exception__: term(),
  code: String.t(),
  field: String.t() | nil,
  message: term(),
  retryable: term()
}