diff --git a/client/src/components/Upload/RulesInput.vue b/client/src/components/Upload/RulesInput.vue index e4b2aba35a0e..bdf6e88bbbad 100644 --- a/client/src/components/Upload/RulesInput.vue +++ b/client/src/components/Upload/RulesInput.vue @@ -132,7 +132,11 @@ export default { .get( `${getAppRoot()}api/histories/${ Galaxy.currHistoryPanel.model.id - }/contents/${selectedDatasetId}/display` + }/contents/${selectedDatasetId}/display`, + // The Rule builder expects strings, we should not parse the respone to the default JSON type + { + responseType: "text", + } ) .then((response) => { this.sourceContent = response.data;