KeyError when attempting to authorize Meetup.com

When I attempt to authorize Meetup.com to add a meetup data source to a report, I get the following error when Meetup redirects back to Cauldron.io:

Environment:


Request Method: GET
Request URL: https://cauldron.io/meetup-login?code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Django Version: 3.2.15
Python Version: 3.8.13
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'CauldronApp.apps.CauldronAppConfig',
 'metrics.apps.MetricsConfig',
 'profile.apps.ProfileConfig',
 'poolsched',
 'cauldron_apps.cauldron',
 'cauldron_apps.poolsched_git',
 'cauldron_apps.poolsched_github',
 'cauldron_apps.poolsched_gitlab.apps.CauldronGitlabConfig',
 'cauldron_apps.poolsched_meetup',
 'cauldron_apps.poolsched_stackexchange',
 'cauldron_apps.poolsched_twitter',
 'cauldron_apps.poolsched_export',
 'cauldron_apps.cauldron_actions',
 'cauldron_apps.poolsched_sbom']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/code/Cauldron2/CauldronApp/views.py", line 295, in request_meetup_oauth
    oauth_user = meetup.user_data()
  File "/code/Cauldron2/CauldronApp/oauth/meetup.py", line 54, in user_data
    return oauth.OAuthUser(username=data_user['id'],

Exception Type: KeyError at /meetup-login
Exception Value: 'id'

Hi @ramsey,

Thank you for notifying the issue. Meetup has finally migrated its API and right now it is not supported in Cauldron as it was.

Right now there’s no way to get all the events listed on their site. Pagination doesn’t work right so it’s impossible to get all data. We have contacted them but they don’t provide API support. We have the same issue in Grimoirelab.

I’ll disable login so no one has the same error. We will re-evaluate if the API still has the existing issues in the next months.

Sorry for the inconvenience