XF 2.1 Push Notification Errors

Mr Lucky

Well-known member
Me too. (a couple of addons mentioned here though)

Code:
ErrorException: Push notification failure: {"success":false,"endpoint":{},"message":"Client error: `POST https:\/\/db5p.notify.windows.com\/w\/?token=BQYAAACfwdvXTg%2bbYeO%2fw8nC8N32jM7yHiY%2fsmhOuo%2fRMPGg%2burPyROvZJ46pJER0fjZ3FSEyKfUVgAwgeoLsS1LbIaN1K5r%2fAv8QW6X%2bDWDIT685ZbxYgurK3iHPa%2feXVRYXWoo0ThK%2foSrGLh%2bYUtkH7a6JjQK%2f4qXiejWAhzAY7ghDUfoh43WmWt2NvsA7bth69wJLYRL2tzWWGvDfX2Y65J%2f3%2fIEO4OPDYX6YefmWiu8N5F57sBllZzzpanimjMsh%2fEZjbscrhfqsnbqDrnVb4meq5R%2fpJh%2fZXRbz%2fO63064c78ieN7Cch909DMs%2bxbATdElKXEEX%2f9uAWluwljASffE` resulted in a `406 Not Acceptable` response","statusCode":406,"reasonPhrase":"Not Acceptable","expired":false,"content":{},"headers":{"Content-Length":["0"],"X-WNS-NOTIFICATIONSTATUS":["appthrottled"],"X-WNS-STATUS":["appthrottled"],"X-WNS-MSG-ID":["523298B161316864"],"X-WNS-DEBUG-TRACE":["DB5PEPF00000421"],"MS-CV":["TbkYRpOnEUqSGRpNrmBYrQ.0"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains"],"Date":["Wed, 12 Jun 2019 17:50:45 GMT"]}} src/XF/Error.php:75
Generated by: Pete Thomas Jun 12, 2019 at 6:50 PM
Stack trace
#0 src/XF.php(187): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(241): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(167): XF\Service\PushNotification->handleResults(Array, Array)
#3 src/XF/Service/PusherTrait.php(159): XF\Service\PushNotification->sendNotifications()
#4 src/XF/Repository/UserAlert.php(147): XF\Service\Alert\Pusher->push()
#5 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(2092, 7103, 'Karlos Fandango', 'post', 400160, 'insert', Array)
#6 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(SV\WarningImprovements\XF\Entity\User), 7103, 'Karlos Fandango', 'post', 400160, 'insert', Array)
#7 src/XF/Notifier/Post/AbstractWatch.php(104): XF\Notifier\AbstractNotifier->basicAlert(Object(SV\WarningImprovements\XF\Entity\User), 7103, 'Karlos Fandango', 'post', 400160, 'insert')
#8 src/XF/Service/AbstractNotifier.php(86): XF\Notifier\Post\AbstractWatch->sendAlert(Object(SV\WarningImprovements\XF\Entity\User))
#9 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, G)
#10 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(1)
#11 src/XF/Service/Post/Approver.php(59): XF\Service\AbstractNotifier->notifyAndEnqueue(1)
#12 src/XF/Service/Post/Approver.php(39): XF\Service\Post\Approver->onApprove()
#13 src/XF/ApprovalQueue/Post.php(27): XF\Service\Post\Approver->approve()
#14 [internal function]: XF\ApprovalQueue\Post->actionApprove(Object(Snog\TV\XF\Entity\Post))
#15 src/XF/ApprovalQueue/AbstractHandler.php(120): call_user_func_array(Array, Array)
#16 src/XF/Job/ApprovalQueueProcess.php(67): XF\ApprovalQueue\AbstractHandler->performAction('approve', Object(Snog\TV\XF\Entity\Post))
#17 src/XF.php(478): XF\Job\ApprovalQueueProcess->XF\Job\{closure}()
#18 src/XF/Job/ApprovalQueueProcess.php(68): XF::asVisitor(Object(SV\WarningImprovements\XF\Entity\User), Object(Closure))
#19 src/XF/Job/Manager.php(253): XF\Job\ApprovalQueueProcess->run(G)
#20 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#21 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#22 job.php(21): XF\Job\Manager->runByIds(Array, 8)
#23 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(41) "https://cafesaxophone.com/approval-queue/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(5) {
    ["only_ids"] => array(1) {
      [0] => string(4) "2589"
    }
    ["_xfRequestUri"] => string(16) "/approval-queue/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top