Code Monkey home page Code Monkey logo

Comments (6)

manikmagar avatar manikmagar commented on August 17, 2024 1

This happens when connected application credentials do not have required scope Design Center Developer. Most likely, the authentication to APIs is failing and instead of JSON response it is returning text error message that plugin is trying to deserialize it as JSON. Add Design Center Developer scope to connected app and try again.
See doc - https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-cloudhub#authentication-methods

from mule-maven-plugin.

rhoegg avatar rhoegg commented on August 17, 2024 1

I am seeing this error with plugin version 3.8.0 using . The cause was that I was not supplying the or so the plugin could not find the environment.

I would love it if we had a better error in this case

from mule-maven-plugin.

manikmagar avatar manikmagar commented on August 17, 2024

One of my colleague recently encountered below. The root cause was that user account had MFA enabled and login credentials were used. I guess there are many ways to fail there. Yes, it will be immensely helpful to have better error messages.

Execution default-deploy of goal org.mule.tools.maven:mule-maven-plugin:3.5.4:deploy failed: MessageBodyReader not found for media type=application/octet-stream, type=class org.mule.tools.client.arm.model.Environments, genericType=class org.mule.tools.client.arm.model.Environments.

from mule-maven-plugin.

tahaiqbalkhan9 avatar tahaiqbalkhan9 commented on August 17, 2024

I am facing the same issue, Exception is really unhelpful figure out the cause.

from mule-maven-plugin.

tahaiqbalkhan9 avatar tahaiqbalkhan9 commented on August 17, 2024

This happens when connected application credentials do not have required scope Design Center Developer. Most likely, the authentication to APIs is failing and instead of JSON response it is returning text error message that plugin is trying to deserialize it as JSON. Add Design Center Developer scope to connected app and try again. See doc - https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-cloudhub#authentication-methods

This works!!

from mule-maven-plugin.

brunocosta95 avatar brunocosta95 commented on August 17, 2024

Hi, I'm facing this issue and my connected app have the scope Design Center Developer.
Any ideas?

from mule-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.