location
header parameter) or the links entity fields in case of asynchronous call. In case of failure, the response code indicates the main reason for rejection (invalid authorization token, expired endpoint...)hasExpired()
. In this case, you should simply delete the subscription as it is not possible to send notifications anymore.