The API call
https://prod-api-dot-baobab.appspot.com/api/v1/responses?event_id=49&include_unsubmitted=False&language=en
succeeds (returns JSON) include_unsubmitted=False, but the call
https://prod-api-dot-baobab.appspot.com/api/v1/responses?event_id=49&include_unsubmitted=True&language=en
(with include_unsubmitted=True) fails with
Unknown status 500
<html>
<head>
<title>Internal Server Error</title>
</head>
<body>
<h1><p>Internal Server Error</p></h1>
</body>
</html>
Similarly, https://domain.com/event/responseList fails when the Include un-submitted button is checked, but succeeds when Include un-submitted is left un-checked.
Cause?
It seems like it is the consequence of a Cross-Origin Resource Sharing (CORS) error.
The API call
https://prod-api-dot-baobab.appspot.com/api/v1/responses?event_id=49&include_unsubmitted=False&language=ensucceeds (returns JSON)
include_unsubmitted=False, but the callhttps://prod-api-dot-baobab.appspot.com/api/v1/responses?event_id=49&include_unsubmitted=True&language=en(with
include_unsubmitted=True) fails withSimilarly, https://domain.com/event/responseList fails when the
Include un-submittedbutton is checked, but succeeds whenInclude un-submittedis left un-checked.Cause?
It seems like it is the consequence of a Cross-Origin Resource Sharing (CORS) error.