Class SignedUrlNotAllowedError

  • All Implemented Interfaces:
    java.io.Serializable

    public class SignedUrlNotAllowedError
    extends java.lang.RuntimeException
    Exception thrown when a signed URL payload is received but not allowed.

    This error is thrown when verifyAndParse() receives a webhook with a signed URL payload but the allowSignedUrl option is not enabled.

    To handle signed URL payloads, either:

    • Pass allowSignedUrl=true to verifyAndParse()
    • Configure your webhook endpoint in the Extend dashboard to not use signed URLs
    See Also:
    Webhooks.verifyAndParse(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SignedUrlNotAllowedError()
      Creates a new SignedUrlNotAllowedError with a default message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SignedUrlNotAllowedError

        public SignedUrlNotAllowedError()
        Creates a new SignedUrlNotAllowedError with a default message.