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

Fix error message on event pages #9035

Open
mariobehling opened this issue Aug 2, 2023 · 1 comment
Open

Fix error message on event pages #9035

mariobehling opened this issue Aug 2, 2023 · 1 comment

Comments

@mariobehling
Copy link
Member

mariobehling commented Aug 2, 2023

After refresh or newly accessing an event page often an error message appears "An Error has ocurred". For the user there is not error visible and there is no action that the user needs to do. A refresh of the page does not show the error again.

Compare https://eventyay.com/e/8f889410

The console shows the following
Error 1:
Screenshot from 2023-08-02 22-30-28
https://api.eventyay.com/v1/events/3171/tax
{"errors": [{"status": 404, "source": {"parameter": "event_id"}, "title": "Object not found", "detail": "Tax: 3171 not found"}], "jsonapi": {"version": "1.0"}}

Error 2:
Screenshot from 2023-08-02 22-35-22
https://api.eventyay.com/v1/events/3171/video-stream
{"errors": [{"status": 404, "source": {"parameter": "id"}, "title": "Object not found", "detail": "Video Stream: 687 not found"}], "jsonapi": {"version": "1.0"}}

Error 3 and more errors:
Screenshot from 2023-08-02 22-36-41
state-machine.js:86 Sentry Logger [error]: t: beforeSendreturnednull, will not send event. at new t (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22399:67) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22448:89 at Array.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:72) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:63 at Array.forEach (<anonymous>) at e._executeHandlers (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:18) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:161 at new e (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20082:5) at e.then (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:8) at e._processEvent (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22448:21) at e._captureEvent (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22440:211) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22414:91 at Array.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:72) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:63 at Array.forEach (<anonymous>) at e._executeHandlers (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:18) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:161 at new e (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20082:5) at e.then (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:8) at e.captureException (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22414:65) at e._invokeClient (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20066:19) at e.captureException (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20042:120) at _Ember.onerror (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22809:63) at t.invokeWithOnError (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5117:262) at t.flush (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5109:74) at t.flush (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5123:207) at n._end (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5185:9) at n.end (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5140:230) at n._run (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5187:70) at n._join (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5186:246) at n.join (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5151:13) at Function.p [as join] (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:3729:28) at d.error (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:10963:11) at c (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:175:118) at Object.fireWith [as rejectWith] (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:176:694) at w (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:458:468) at XMLHttpRequest.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:469:206) (anonymous) @ state-machine.js:86 api.eventyay.com/v1/events/3171/event-copyright:1 Failed to load resource: the server responded with a status of 404 () state-machine.js:86 Sentry Logger [log]: Adding outcome: error:before_send state-machine.js:86 Sentry Logger [error]: t: beforeSendreturnednull, will not send event. at new t (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22399:67) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22448:89 at Array.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:72) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:63 at Array.forEach (<anonymous>) at e._executeHandlers (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:18) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:161 at new e (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20082:5) at e.then (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:8) at e._processEvent (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22448:21) at e._captureEvent (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22440:211) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22414:91 at Array.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:72) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:63 at Array.forEach (<anonymous>) at e._executeHandlers (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20081:18) at https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:161 at new e (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20082:5) at e.then (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20083:8) at e.captureException (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22414:65) at e._invokeClient (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20066:19) at e.captureException (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:20042:120) at _Ember.onerror (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:22809:63) at t.invokeWithOnError (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5117:262) at t.flush (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5109:74) at t.flush (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5123:207) at n._end (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5185:9) at n.end (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5140:230) at n._run (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5187:70) at n._join (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5186:246) at n.join (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:5151:13) at Function.p [as join] (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:3729:28) at d.error (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:10963:11) at c (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:175:118) at Object.fireWith [as rejectWith] (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:176:694) at w (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:458:468) at XMLHttpRequest.<anonymous> (https://eventyay.com/assets/vendor-abeed9d5d54cbe6ee8ca96ca1c32a262.js:469:206) (anonymous) @ state-machine.js:86 api.eventyay.com/v1/events/3171/group:1 Failed to load resource: the server responded with a status of 401 () state-machine.js:86

@mariobehling mariobehling added this to the Wikimania M9 milestone Aug 2, 2023
@mariobehling mariobehling assigned ghost Aug 2, 2023
@ghost ghost added the Priority: Low label Aug 8, 2023
@manzil-infinity180
Copy link

is this issue open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Development

No branches or pull requests

2 participants