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

When I enter my name into the frontend box, it gives me error: Unhandled Rejection (TypeError): Failed to fetch getUser #105

Open
ZeLiu369 opened this issue Jul 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ZeLiu369
Copy link

×
Unhandled Rejection (TypeError): Failed to fetch
getUser
src/App/api/index.js:20
17 | };
18 |
19 | export const getUser = uuid => {

20 | return fetch(apiRoot + api/user/?uuid=${uuid}, {
21 | method: 'GET'
22 | })
23 | }
View compiled
Record._this.requestUserDetails
src/App/Record.js:152
149 | };
150 |
151 | requestUserDetails = uuid => {
152 | getUser(uuid)
153 | .then(res => res.json())
154 | .then(res => {
155 | if (res.success) {
View compiled
Record.componentDidMount
src/App/Record.js:43
40 |
41 | componentDidMount() {
42 | document.addEventListener("keydown", this.handleKeyDown, false);
43 | this.requestUserDetails(this.uuid);
44 | }
45 |
46 | componentWillUnmount() {

@ZeLiu369 ZeLiu369 added the bug Something isn't working label Jul 24, 2023
@marshalleq
Copy link

marshalleq commented Aug 2, 2023

I get the same on Chrome. Interestingly, I don't get it on Safari, but Safari doesn't have the mic support. Firefox just crashes. I should also note for me this is using the supplied docker image method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants