Patreon-Creator-Zugangs- und Refresh-Token-Werte sind inkorrekt

Our Patreon plugin was working for months, but now I have the message in the admin panel “Patreon Creator’s access and refresh token values are incorrect”. This has happened before and we’ve followed the instructions and it worked again. But this time it won’t go away.

I’ve hit the “update patreon” button in the admin patreon panel. I’ve checked the rails log and can see the patreon job ran successfully. The only output is where it’s trying to award badges to old users and gets a 404 but that doesn’t seem to be a problem. I’ve also kicked the patreon jobs in /sidekiq, and again it runs successfully.

So it seems the tokens really don’t match. Unfortunately I don’t have permission to access our Patreon account. The boss copies and pastes the codes to me and I enter them in Discourse. We’ve done this twice with no joy.

Any other troubleshooting advice?

Edit: Looks like I could try the Patreon API using the same credentials. API Reference

I got the same error using the API, so I guess it has nothing to do with Discourse. Still would be interested if anyone else has had the same issue.

import patreon
from pprint import pprint

access_token = '*** I pasted the Creator's Access Token here ***'
api_client = patreon.API(access_token)
campaign_response = api_client.get_campaigns(10)
pprint(campaign_response)

{u'errors': [{u'code': 1,
              u'code_name': u'Unauthorized',
              u'detail': u"The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.",
              u'id': u'b11c8833-90ee-4a21-802b-9b4dfc4882f1',
              u'status': u'401',
              u'title': u'Unauthorized'}]}

Hallo,
ich erhalte denselben Fehler, wenn ich die API aufrufe, um Kampagnen abzurufen:

{    "errors": [
        {
            "code": 1,
            "code_name": "Unauthorized",
            "detail": "Der Server konnte nicht überprüfen, dass Sie berechtigt sind, auf die angeforderte URL zuzugreifen. Sie haben entweder falsche Anmeldedaten angegeben (z. B. ein falsches Passwort), oder Ihr Browser versteht nicht, wie die erforderlichen Anmeldedaten übermittelt werden.",
            "id": "2861b3d8-08e1-42ff-86aa-5418ce4f6656",
            "status": "401",
            "title": "Unauthorized"
        }
    ]
}

Wir hatten dieses Problem mehrmals, als ich Anfang dieses Jahres gepostet habe. Seitdem hat es einwandfrei funktioniert. Ich habe keine Ahnung, warum, außer dass, wie bereits erwähnt, das Problem auf Seiten von Patreon liegt und nicht bei Discourse. Ich war benachteiligt, weil ich keinen Zugriff auf das Patreon-Konto hatte; vorausgesetzt, Sie haben Zugriff, schlage ich vor, dass Sie sich an sie wenden.

Ich wünschte, ich könnte hilfreicher sein.

Wir haben dieses Problem erneut, nachdem es monatelang funktioniert hat. Ich habe das Creator-Zugriffstoken und das Creator-Aktualisierungstoken in den Discourse-Patreon-Einstellungen aktualisiert, bekomme aber weiterhin den Fehler im Dashboard.

Wie oben erwähnt, ist dies kein Discourse-Problem, aber ich wollte es hier posten, falls andere in den letzten Tagen auf dasselbe Problem gestoßen sind. Vielleicht gibt es ein Muster.

Danke für die Nachverfolgung. Ist Ihre Warnung von selbst verschwunden? Gleiches Problem hier.

Update: Ich konnte diese Meldung löschen, indem ich zu admin > plugins > Patreon ging.
…und dann auf manuell synchronisieren klickte.

Screenshot: