TypeError: e.jqXHR.responseJSON.join is not a function


(Freddie Haddad) #1

Hi all,

I’m looking for help/direction on how to troubleshoot the log errors I see in the Discourse admin section of my site.

Here’s one as an example.

Error

TypeError: e.jqXHR.responseJSON.join is not a function

info

TypeError: e.jqXHR.responseJSON.join is not a function
Url: https://sunrisepoint.org/assets/application-bf5a549b061e4b143b57dac790e40cadb0afc56f6200522938975785cc4a4008.js
Line: 5
Column: 2880
Window Location: https://sunrisepoint.org/c/correspondence/bod

backtrace

z@https://sunrisepoint.org/assets/application-bf5a549b061e4b143b57dac790e40cadb0afc56f6200522938975785cc4a4008.js:5:2880
_bindUploadTarget/<@https://sunrisepoint.org/assets/application-bf5a549b061e4b143b57dac790e40cadb0afc56f6200522938975785cc4a4008.js:21:24538
dispatch@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:16565
add/v.handle@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:14665
trigger@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:6731
trigger/<@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:7288
each@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:1:14731
each@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:1:12780
trigger@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:7267
_trigger@https://sunrisepoint.org/assets/vendor-5a5945eb745675941f6bc539d75501b8c77028c134a7d343f51931413dae7fe1.js:1:25561
_onFail@https://sunrisepoint.org/assets/vendor-5a5945eb745675941f6bc539d75501b8c77028c134a7d343f51931413dae7fe1.js:5:1659
e.widget/</l[t]</<@https://sunrisepoint.org/assets/vendor-5a5945eb745675941f6bc539d75501b8c77028c134a7d343f51931413dae7fe1.js:1:20610
c/i<@https://sunrisepoint.org/assets/vendor-5a5945eb745675941f6bc539d75501b8c77028c134a7d343f51931413dae7fe1.js:5:2129
l@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:6359
fireWith@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:7127
r@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:10013
n/<@https://sunrisepoint.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:15842

env

|hostname|ip-172-31-7-188-app|
|---|---|
|process_id|29471|
|application_version|e5affdf230d9d8f1c2a38ccd71b0746efcb0b9c3|
|HTTP_HOST|sunrisepoint.org|
|REQUEST_URI|/logs/report_js_error|
|REQUEST_METHOD|POST|
|HTTP_USER_AGENT|Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0|
|HTTP_ACCEPT|*/*|
|HTTP_REFERER|https://sunrisepoint.org/c/correspondence/bod|
|HTTP_X_FORWARDED_FOR|174.68.70.165|
|HTTP_X_REAL_IP|174.68.70.165|
|||
|params||
|message|TypeError: e.jqXHR.responseJSON.join is not a function Url: https://sunrisepoint.org/assets/applicati|
|url|https://sunrisepoint.org/assets/application-bf5a549b061e4b143b57dac790e40cadb0afc56f6200522938975785c|
|line|5|
|column|2880|
|window_location|https://sunrisepoint.org/c/correspondence/bod|
|stacktrace|z@https://sunrisepoint.org/assets/application-bf5a549b061e4b143b57dac790e40cadb0afc56f620052293897578|

I’m not sure what this means, why it happens, and what the root cause is. I tried reviewing the info, backtrace, and env tabs of the logs, but nothing really stands out to me as the problem.

There are a few others, but I wanted to keep the topic focused. Plus if I can learn how to debug this error, maybe that information will help me debug the rest.