Thousands of user api requests and invalidation

That seems like too many requests to be coming from the DiscourseHub app. If you have the Data Explorer installed on your site, I’d be curious about the results of this query:

SELECT
application_name,
COUNT(application_name) AS user_count
FROM user_api_keys
GROUP BY application_name

I tested that query on my own test site, but it only has one user_api_request from the DiscourseHub app. I think I’ve structured the query correctly for dealing with multiple users connecting to Discourse from multiple apps, but let me know if anything in the results seems off.

1 Like