@Matronix I assume you have solved it within the last year
But today I ran into the same issue of receiving the following error while building a custom App.
“The operation failed with an error. Invalid module output. Expected Object, but found Uint8Array.”
The communication response looked like this:
"response": {
"output": "{{body}}"
}
I quickly wanted to share my solution in case others encounter it as well. Note: If there is a part which does not go in line with best-practices, I’d be happy to know how it’s done correctly!
This way it works:
thank you so much! I’ll add the “type”:“binary” to my response.
Sorry for any confusion, the response with “data”:“{{body}}” was already working on my end. I just wanted to share a solution as I was looking for one and the linked thread didn’t get to a solution.
I was thinking that maybe some day someone else will be running into the mentioned error and might be happy to find this thread