Page MenuHomeDevCentral

Update token on Phabricator Notifications Center configuration
Closed, ResolvedPublic

Description

After T1727, we now have to update the token:

Nasqueron\Notifications\Phabricator\PhabricatorAPIException: API token "[...]" has the wrong format. API tokens should be 32 characters long and begin with one of these prefixes: api, cli, clr. in /var/wwwroot/default/app/Phabricator/PhabricatorAPI.php:101
Stack trace:
#0 /var/wwwroot/default/app/Phabricator/PhabricatorStory.php(197): Nasqueron\Notifications\Phabricator\PhabricatorAPI->call('differential.qu...', Array)
#1 /var/wwwroot/default/app/Phabricator/PhabricatorStory.php(159): Nasqueron\Notifications\Phabricator\PhabricatorStory->getRepositoryPHID('differential.qu...')
#2 /var/wwwroot/default/app/Phabricator/PhabricatorStory.php(296): Nasqueron\Notifications\Phabricator\PhabricatorStory->getProjectsPHIDs()
#3 /var/wwwroot/default/app/Phabricator/PhabricatorStory.php(284): Nasqueron\Notifications\Phabricator\PhabricatorStory->attachProjects()
#4 /var/wwwroot/default/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzer.php(56): Nasqueron\Notifications\Phabricator\PhabricatorStory->getProjects()

The current old token hasn't any prefix.

Event Timeline

dereckson triaged this task as Unbreak Now! priority.Jan 10 2023, 02:29
dereckson created this task.

Done immediately after this task. We now receive correctly Phabricator events on RabbitMQ.