avnav88 commented on issue #24579:
URL: https://github.com/apache/superset/issues/24579#issuecomment-1662806410

   i used `2.1.0` and i get the same issue:
   
   ```
   2023-08-02 18:56:48,036:INFO:flask_wtf.csrf:The CSRF session token is 
missing.
   Refresh CSRF token error
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 261, 
in protect
       validate_csrf(self._get_csrf_token())
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 103, 
in validate_csrf
       raise ValidationError("The CSRF session token is missing.")
   wtforms.validators.ValidationError: The CSRF session token is missing.
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1515, in 
full_dispatch_request
       rv = self.preprocess_request()
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1857, in 
preprocess_request
       rv = self.ensure_sync(before_func)()
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 229, 
in csrf_protect
       self.protect()
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 264, 
in protect
       self._error_response(e.args[0])
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 307, 
in _error_response
       raise CSRFError(reason)
   flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF session token is missing.
   2023-08-02 18:56:48,037:WARNING:superset.views.base:Refresh CSRF token error
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 261, 
in protect
       validate_csrf(self._get_csrf_token())
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 103, 
in validate_csrf
       raise ValidationError("The CSRF session token is missing.")
   wtforms.validators.ValidationError: The CSRF session token is missing.
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1515, in 
full_dispatch_request
       rv = self.preprocess_request()
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1857, in 
preprocess_request
       rv = self.ensure_sync(before_func)()
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 229, 
in csrf_protect
       self.protect()
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 264, 
in protect
       self._error_response(e.args[0])
     File "/usr/local/lib/python3.8/site-packages/flask_wtf/csrf.py", line 307, 
in _error_response
       raise CSRFError(reason)
   flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF session token is missing.
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to