Highlighted
New Contributor

Anaplan Mulesoft Connector Refresh Token Issue

Hi Team,

 

We are using Anaplan Mulesoft latest Connector for our client and With certificate authentication or basic authentication, Anaplan connector is failing while getting Refresh token after every 30 min. This behavior is happening randomly.

So when 30 min completed and we send a request it is failing because of refresh token issue. Please check below log and let me know if you can help us with that:

Error:
event:filled-position-EE-data_022420_192833 Failed to fetch attibutes {} org.mule.modules.mulesoftanaplanv3.internal.model.File for model BC727AB19BF644EA8DF844F853664B93 java.lang.NullPointerException at org.mule.modules.mulesoftanaplanv3.internal.client.AnaplanV2Client.buildRequestWithJwt(AnaplanV2Client.java:1554)

Message : Metadata key workspaceid || modelid ||fileName does not resolve to a known File. Element : post-fileupload-apiFlow/processors/7 @ system-anaplan-global-dev-api:post-fileupload-api.xml:33 (Execute file upload streaming) Element XML : <anaplan:execute-file-upload-streaming fileId="#[vars.fileAction]" doc:name="Execute file upload streaming" doc:id="e5962603-3a97-4666-8b60-99d71c08a304" config-ref="Anaplan_Config_Basic" workspaceId="${workspaceid}" modelId="${modelid}" chunkSize="10"></anaplan:execute-file-upload-streaming> Error type : ANAPLAN:CONNECTIVITY Payload Type : org.mule.runtime.core.internal.streaming.bytes.ManagedCursorStreamProvider -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.runtime.api.exception.MuleRuntimeException: Metadata key <filename> does not resolve to a known File. at org.mule.runtime.extension.api.exception.ModuleException.<init>(ModuleException.java:66) at org.mule.runtime.extension.api.exception.ModuleException.<init>(ModuleException.java:76) at org.mule.modules.mulesoftanaplanv3.internal.error.exception.AnaplanConnectorException.<init>(AnaplanConnectorException.java:30)

1 REPLY 1
Highlighted
Master Anaplanner/Community Boss

Re: Anaplan Mulesoft Connector Refresh Token Issue

Hey - Do you also experience the issue when you execute import with files (temporary files) instead of import using streaming? 

 

Also have you configured the HTTP request connector to get the token and refresh as and when required? Here is a related link:  https://docs.mulesoft.com/connectors/http/http-authentication