0

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/).

Jean-Philippe Briend
  • 3,455
  • 29
  • 41
  • Can you add the request you are doing that is leading to the error – TyrManuZ Nov 26 '18 at 13:11
  • Improve lisibility – Jean-Philippe Briend Nov 26 '18 at 13:34
  • @Jean-PhilippeBriend what do you mean? – Matteo Nisi Nov 26 '18 at 14:17
  • @TyrManuZ I added a screenshot in the answer – Matteo Nisi Nov 26 '18 at 14:17
  • I cannot reproduce the problem using the documentation you linked. Maybe take another round completing your question with all information like how did you create the application? What is the structure of the zip you try to upload? etc. Keep in mind that this is a developer community and the less information you provide for the problem the more time consuming it will be for people to help you and therefore they might not take the time. Try to describe the full process you did and where you run into the issue – TyrManuZ Nov 27 '18 at 09:24

0 Answers0