NetworkError when attempting to fetch resource. Mientras realizo la solicitud de búsqueda, no sé por qué recibo este error. La entrada es NC[C@H]1CC[C@@H](CC1)C(O)=O . Aquí está el enlace al enlace del código
let params = new URLSearchParams({ solute: solutestate }); const onSubmit = async (e) => { e.preventDefault(); Promise.all([ fetch( `https://fastapi-ihub-n7b7u.ondigitalocean.app/predict_two?${params}`, { method: "GET" } ) .then((res) => res.json()) .then((result) => setFetchData(result)), fetch( `https://fastapi-ihub-n7b7u.ondigitalocean.app/predict_solubility_json`, { method: "GET" } ) .then((res2) => res2.json()) .then((result2) => setjsonData(JSON.stringify(result2.result))) ]); };