Fantasy-Fit / fantasy-fit-web

Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Error 401 uncaught in promise when trying to make a comment on a tournament #142

Closed dovid11564 closed 1 year ago

dovid11564 commented 1 year ago

Came across this issue when trying to comment on a tournament. image

I spoke to @chris-t-li, we thought it might be a JWT token issue. Since I had auto logged in and auto refresh for JWT token was missing, therefore I was getting unauthorized. Logging out and logging back in again did not solve the issue, so I am not sure what the issue might be.

chris-t-li commented 1 year ago

@dovid11564 Can you please expand the error message in the Uncaught promise? What is the data value? {status: 401, data: {...}}?

dovid11564 commented 1 year ago

I havn't actually been able to replicate this. It seems like it might have been JWT or sessions expiring in the end.

chris-t-li commented 1 year ago

@dovid11564 can I close this issue for now? If you can replicate, feel free to create a new issue.

dovid11564 commented 1 year ago

@chris-t-li yes, please close.