I'm trying to attach a document to my node. I have the following code in React.
const url = `http://localhost:10015/upload/attachment`;
const formData = new FormData();
formData.append('file',file); // from file select
let result = await fetch(url, {
method: 'post',
body: formData
});
When I view the network logs, it looks like there isn't an issue
And the response is the hash of the attachment.
When I view the logs, I have this error:
Could anyone help me out with this?
