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

as a shop owner, i get AttributeError: 'tuple' object has no attribute 'status_code #1251

Open
joeltejeda opened this issue Oct 4, 2023 · 0 comments

Comments

@joeltejeda
Copy link
Collaborator

joeltejeda commented Oct 4, 2023

Is your feature request related to a problem? Please describe.

[2023-10-04 02:04:38] 179.53.35.187 requested https://containerhosting.subscriby.shop/admin/announce-stripe-connect subscribie   ERROR    Exception on /admin/announce-stripe-connect [GET] log_exception /path/subscribie/venv/lib/python3.7/site-packages/flask/app.py:1458
Traceback (most recent call last):
  File "/path/subscribie/venv/lib/python3.7/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/path/subscribie/venv/lib/python3.7/site-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/path/subscribie/venv/lib/python3.7/site-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/path/subscribie/venv/lib/python3.7/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/path/subscribie/venv/lib/python3.7/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/path/subscribie/subscribie/blueprints/admin/__init__.py", line 1825, in announce_shop_stripe_connect_ids
    json.dumps(msg), status=req.status_code, mimetype="application/json"
AttributeError: 'tuple' object has no attribute 'status_code

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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