inmanjlai / codeTracker

CodeTracker is a simple online code editor, that makes use of CodeMirror's code editor and Skulpt's Python to JavaScript translator. User authentication is handled by PocketBase, using their provided JavaScript SDK.
https://inmanjlai.github.io/codeTracker/
1 stars 1 forks source link

Error while loading admin dashboard #23

Open saquibrazak opened 1 year ago

saquibrazak commented 1 year ago

I get the following error while loading admin dashboard

pocketbase.umd.js:1 Uncaught (in promise) ClientResponseError 0: The request was autocancelled. You can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation. at new ClientResponseError (pocketbase.umd.js:1:2541) at pocketbase.umd.js:1:45583 at async getUser (admin.js:76:53)

inmanjlai commented 1 year ago

This is happening because, for some reason, there are multiple duplicate requests being made. So pocketbase is cancelling duplicate requests. It is a non-issue, but I believe it will be fixed with the future rewrite.