Unable to change the Twitter APP configuration Error 500

Infos:

  • Used Zammad version: 5
  • Used Zammad installation type: Package
  • Operating system: Ubuntu 18.04
  • Browser + version: Chrome Version 97.0.4692.99

Expected behavior:

  1. Set up Twitter app in Zammad. all working ok.
  2. Discovered I had used wrong Twitter account,
  3. Delete app in dev portal on wrong twitter account.
  4. re create app in correct twitter account dev portal.
  5. Disconnect twitter app in zammad
  6. Re Connect twitter app in zammad with new details

Actual behavior:

problems start at Step 5 above,

I am unable to disconnect app completely , only options after deleting the settings are to “Configure APP” and “Add account”.

If click on Configure App, the original settings are still there, If I then change them to the correct ones, apply the changes and click on “add account” Twitter asks me to authorise the APP, I click on authorise, then I get the error 500 page.


Steps to reproduce the behavior:

1.Set up the Zammad twitter app to be all working correctly.

2.Try to reconfigure Zammad to use a different twitter app from another twitter account

Does anybody know how I can reset the zammad twitter app back to default.ie: remove all relative data added since I first connected the app

You can remove all settings data via rails console like so:
Setting.set('auth_twitter_credentials', {})

This command is not verified and has nothing to do with the connected channel.
I assumed that Deleting does not fail as you didn’t mention that.

Many thanks, that has cleared the data.

Great support

1 Like