Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Conector Instagram #139

Open
SkFogo opened this issue Sep 27, 2023 · 0 comments
Open

[BUG] - Conector Instagram #139

SkFogo opened this issue Sep 27, 2023 · 0 comments

Comments

@SkFogo
Copy link

SkFogo commented Sep 27, 2023

No conector do Instagram, ao marcar as opções:

"message_template": "[{{agent_name}}]\r\n{{message}}", "include_connector_status": true}

Apresenta o erro abaixo:

Environment:

Request Method: POST
Request URL: https://rc.conector.testeomni.com.br/instance/server/E6B72B7D7A8C43118177/analyze/A457990D902746A7A2A6

Django Version: 3.2.13
Python Version: 3.8.16
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.forms',
 'crispy_forms',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'django_celery_beat',
 'rest_framework',
 'rest_framework.authtoken',
 'corsheaders',
 'rocket_connect.users.apps.UsersConfig',
 'instance',
 'envelope',
 'asterisk',
 'anymail']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.common.BrokenLinkEmailsMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 486, in thread_handler
    raise exc_info[1]
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 38, in inner
    response = await get_response(request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 233, in _get_response_async
    response = await wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 448, in __call__
    ret = await asyncio.wait_for(future, timeout=None)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 455, in wait_for
    return await fut
  File "/usr/local/lib/python3.8/site-packages/asgiref/current_thread_executor.py", line 22, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 490, in thread_handler
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/usr/local/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/app/rocket_connect/instance/views.py", line 55, in check_and_call
    return func(request, *args, **kwargs)
  File "/app/rocket_connect/instance/views.py", line 287, in connector_analyze
    connector_action_response["status_session"] = connector.status_session()
  File "/app/rocket_connect/instance/models.py", line 540, in status_session
    status["connector"] = self.connector_status()

Exception Type: TypeError at /instance/server/E6B72B7D7A8C43118177/analyze/A457990D902746A7A2A6
Exception Value: 'bool' object does not support item assignment
@SkFogo SkFogo changed the title ERRO - Conector Instagram [BUG] - Conector Instagram Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant