Skip to main content Take our 5-minute Community Survey. Open now through 4/11/2025. Click here to participate.

#MuleSoft40 discussing

I tried to publish an API REST specification using ACB, but it's not working 

 

2025-04-04 14:12:53 [ForkJoinPool.commonPool-worker-20] ERROR com.mule.api.contribution.api.apiprojectcli.CLIExecution - Error executing project publication. Status code: 2, StdErr: Validating Api Project... ✅Publish Api Project to Exchange... ! »   Error: ASSET_PRE_CONDITIONS_FAILED: Cannot create a new asset with the  »   provided groupId, assetId, version, state  »    The groupId 'y' is invalid. It must be »    your organization UUID ('x') [api-component:fa871e3a-8f2b-4b50-95f1-a154d0df7bef]

 

The asset is currently published in a Sub Business Group `subOrganizationId` ('y'), it's not the main/root Business Group ('x') 

 

I'm not sure, but it seems ok to publish an asset on a sub org (Business Group). At least Design Center or Anypoint Studio allows publishing to a sub-business group.

  

#MuleSoft 

1 answer
0/9000

I can tell you I am at this point considering campaigning to remove my support for our potential internal adoption of Mulesoft as a tool, if this is the level of support that Salesforce provides. 

 

I do hope that Trailhead Support Case #470093446 is available for public viewing.  

 

In short, I registered for a MAX150 and DEX401 class to learn Mulesoft / Anypoint Studio, initially to fulfill some MDM-related needs, being the MDM Admin... in advance of hiring dedicated Mulesoft developers. 

 

I followed the class preparation steps, one of which was to download and install Anypoint Studio. 

In the support ticket, I included the link to the class preparation steps I was supplied, as well as the link for the download, and the name of the zip file that was downloaded from that link. 

I included the detail on extracting the zip file, and the result of clicking on "AnypointStudio.exe" 

(an error message dialog pops up stating there is no Java Virtual Machine, and that it can't find one in the installation path that it is looking at - the path it lists is in the unzipped file folder structure, in other words - the installer is anticipating a JVM folder to have been supplied in the download)

 

I initially reached out to Mulesoft support, who refused to help, since this was in preparation for a Trailhead course.  First roadblock.  So, I did as they instructed and opened a Trailhead ticket. 

 

Six days later - On March 26th (with March 27th being the start day of the MAX150 course) I commented on the ticket "Anybody home?"   

...OK not really - but I noted that the class starts tomorrow, and I can't take it if this isn't resolved.  I asked for a phone number since this has had no attention for so long, that it has now become urgent. 

 

With no response STILL by that afternoon, I asked them for at least a comment on what they found when they followed the steps I took.  I noted to them that they might need to disable the JVM on their own machine to replicate the error. 

 

No response STILL - until March 27th, 5pm - already entirely past the first day of class (which I could not take)... 

...and the response was (drum roll for this one) - "Have you tried clearing your browser cookies?", and "Can we close your support ticket?" 

 

Conclusions: 

1) They didn't even read the ticket, much less my comments on it. 

2) They blindly assume I'm doing something inside of a browser, hence that lazy suggestion.  

3) They are simply incentivized to close support tickets.  

 

Guess what?  It's now April 4th.  This ticket is STILL unresolved.

Our account reps are on-site next week - will THEY ever be getting an ear full. 

 

Believe it or not  - they even added ANOTHER inept  "...but did you try clearing your browser cookies?" comment later.  It is so far the only suggestion. Insanity on top of ineptitude.  Really confidence shattering.  

 

Adding insult to injury - I just received an Email from Trailhead 

"If you haven’t done so already, please review your prework and computer setup requirements below to ensure you’re ready for class! "

 

Here's the bottom line in my opinion- 

If we can't even get technical support at THIS level, a basic install to prepare for taking a class... 

.,.,imagine how difficult an actual production-impacting support ticket  of technical substance would be, if we actually begin deploying Mulesoft to link systems?  That would be an unacceptable risk to any organization, and I'm certainly going to be vocal about that within my organization. 

 

Is there a means of reaching out to the Trailhead support management team?  If for no other reason, they should know that it's possibly going to end my potential endorsement of this tool, given the critical role support needs to play.  This represents a real risk - and I am sure it is not the goal of Trailhead support to drive their customers away from using Mulesoft entirely. 

How do I reach them? 

0/9000

Hi,  

 

  I am new to Mulesoft and I would like to receive guidance on how and where to start. I did have a look around on Trailhead Academy, but I feel a bit overwhelmed and bummed out. 

 

  I hope to progress and get certified, as soon as possible. Hopefully I would be able to find a remote job with this.  

 

  Thank you in advance! 

 

 

Aziz. 

1 answer
  1. Apr 5, 2:59 PM

    Hi @Aziz Azizov

     

    To get started with MuleSoft , please check out the following help article 'MuleSoft Composer for Salesforce'. This is a great starting point to understand how MuleSoft integrates with Salesforce. 

    https://help.salesforce.com/s/articleView?id=sf.ms_composer_overview.htm&type=5

     

    The official MuleSoft documentation is a valuable resource. It covers everything from basic concepts to advanced integrations. 

    https://docs.mulesoft.com/general/

     

    Salesforce’s Trailhead offers a variety of courses and trails. Start with the basics and gradually move to more advanced topics. 

    https://trailhead.salesforce.com/en/credentials/mulesoftdeveloperi

     

    https://trailhead.salesforce.com/en/credentials/mulesoftoverview/

     

     

    Thanks! 

     

0/9000

We have recently started upgrading the Mule runtime to 4.6.1 and JAVA 17 in anypoint studio 7.20. We have updated the mule maven plugin and runtime versions.   While building the application , we are receiving below error  Error loading referenced file for parameter 'resource': dwl/transformations/dwlfilename.dwl'    but the file is available in the correct path and it was working fine in Mule 4.4 with Java 11.  Anyone faced this issue while loading external DWL files.  Thanks,   

2 answers
  1. Apr 2, 11:27 AM

    Maybe you need to remove "exportedResources" from your /mule-artifact.json file. 

     

    With Runtime 4.6 / 4.9 only those resources are known to the classloader. 

     

    Maybe you see

    INFO FilteringArtifactClassLoader - Resource ' dwl/transformations/dwlfilename.dwl' not found in classloader for 'container'. [WrapperListener_start_runner] 

     

    a few lines before the error in your log file? 

     

    Then just remove "exportedResources" from your /mule-artifact.json file and the mule-maven-plugin will add all your local resources during packaging the jar. 

0/9000

I am reposting this issue from the forum site. The icon/button 'R' or the command to Re-scaffold is missing once the API specs have been modified.    https://help.mulesoft.com/s/question/0D5Pr00000Xa0ksKAB/question-re-rescaffolding-with-code-builder    Steps to replicate were either to follow the instruction here:  - https://docs.mulesoft.com/anypoint-code-builder/tut-local-api-specification#update-api-spec    Or to follow Dakota's demo:  - https://youtu.be/IxGyi6JsSzU?t=1936  

1 answer
0/9000
1 answer
  1. Mar 26, 1:51 AM

    Hi @SFDC Admin

    we can define escape='' with output directive i.e 

     

    %dw 2.0output application/csv escape='' ---log(payload)

     

    Reference

     

     

    Hi we can define escape='' with output directive i.e %dw 2.

     

     Thanks

0/9000

Hello All, 

 

I am interested to understand if implementing MuleSoft APIs in Monorepo is a good practice. If you have implemented, what challenges you faced and what benefits you realized. 

 

Thank you in advance 

Pradeep

1 answer
0/9000
2 answers
0/9000

Anypoint CodeBuilder is not hitting breakpoints when running in debug mode. Anypoint Studio works with no issues.

New app just, an HTTP listener and a logger.

Nothing listening on the debugger port (can't even find how one changes this for ACB)

New VS Code profile created with just Anypoint extensions enabled.

Platform is Windows.

 

Anyone experienced or can assist with this?

2 answers
  1. Mar 11, 8:31 PM

    @Larry Mayers, did you find our answer?  Did you find a better community for asking ACB question?  I'm exploring it and having multiple issues running/deploying, so curious if you're in a better spot today.

0/9000

Hi!   I had a working integration solution with mule API's. Communication went from system-api to backend-api. Both API's were on CloudHub 2.0.   I moved the system-api to AKS using Runtime Fabric. I moved it by choosing the API from Exchange - so the API stays the same. I also implemented the same configurations as they were on CloudHub 2.0 including environment variables.   Now the integration doesn't work.   I configured ingress controllers for both RTF and system-api on RTF.   My system-api on RTF is to reach from the internet (so, ingress works) and I can call websites like google from the system-api pod (so, no weird network policies are in place).   What goes wrong is that I cannot reach the backend-api (which is still on CloudHub 2.0) from my system-api (which is now now on AKS via RTF).   I couldn't find any documentation provided by MuleSpft/Salesforce on this issue or implementation for an alike solution.    

0/9000