When I try to upload the zip file of the microservice, I get as a response:
{
"error": "applications/Bad Request",
"info": "https://www.cumulocity.com/guides/reference-guide/#error_reporting",
"message": "Supported only for hosted applications"
}
But how can a microservice be a hosted application?
Indeed in the configuration step, it is asked to put
"type":"MICROSERVICE"
as described here (https://cumulocity.com/guides/microservice-sdk/rest/).