Skip to main content

Trying to add the REST API from exchange results in the following error.

 

https://anypoint.mulesoft.com/exchange/api/v1/organizations/<>/assets/<>/american-flights-api/1.0.2/api/root could not be found

 

Loading the url in chrome results in the error {"name":"UnauthorizedError","status":401,"message":"Unauthorized"}

 

Other suggestions found in the forum of clearing caches or attempting to use alternate APIs or URLs have not provided a solution. Adding the URL configuration details allows me to continue but results in issues with the transformation later.

 

The Anypoint studio log contains the following message

 

!ENTRY org.mule.tooling.core 2 0 2018-03-15 17:42:23.749

!MESSAGE Error Parsing Raml

!STACK 0

java.nio.file.InvalidPathException: Illegal char <:> at index 5: https:\anypoint.mulesoft.com\exchange\api\v1\organizations\<>\assets\<>\american-flights-api\1.0.2\api\exchange_modules/<>/training-american-flight-data-type/1.0.1/AmericanFlightDataType.raml

at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)

at sun.nio.fs.WindowsPathParser.parse(Unknown Source)

at sun.nio.fs.WindowsPathParser.parse(Unknown Source)

at sun.nio.fs.WindowsPath.parse(Unknown Source)

at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)

at java.nio.file.Paths.get(Unknown Source)

at org.raml.editor.compatibility.validation.Validator10Wrapper.computeIncludePath(Validator10Wrapper.java:130)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:104)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:113)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:113)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:113)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:113)

at org.raml.editor.compatibility.validation.Validator10Wrapper.findIncludeNodes(Validator10Wrapper.java:84)

at org.raml.editor.compatibility.validation.Validator10Wrapper.validateAndDetectIncludes(Validator10Wrapper.java:45)

at org.raml.editor.compatibility.validation.Validator10Wrapper.validate(Validator10Wrapper.java:69)

at org.mule.tooling.rest.consumer.utils.RamlCache.buildRaml(RamlCache.java:132)

at org.mule.tooling.rest.consumer.utils.RamlCache.parseRaml(RamlCache.java:111)

at org.mule.tooling.rest.consumer.utils.RamlCache.access$0(RamlCache.java:107)

at org.mule.tooling.rest.consumer.utils.RamlCache$1.run(RamlCache.java:90)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

 

Does anyone know if this module can be completed at the moment?

2 answers
0/9000