Sorry for the late answer.
Your WP Discourse utility function relies on the API key and username.
The options are located in the general settings:
You must provide a valid API key and username here; the username must be an admin.
Can you check if that’s the case?
