diff --git a/client/src/components/Upload/RulesInput.vue b/client/src/components/Upload/RulesInput.vue index 79009aa76a7f..c1f2d1e0da7a 100644 --- a/client/src/components/Upload/RulesInput.vue +++ b/client/src/components/Upload/RulesInput.vue @@ -129,7 +129,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;