Anaplan v3 Connector for Mulesoft - Doest the connector refresh token for subsequent API calls
Hi All,
I know that Anaplan V2 Connector for Mulesoft does the token refresh for every subsequent API, but has this behaviour been inherited in Anaplan v3 connector, because we are seeing Anaplan throwing error for subsequent calls made for import via the v3 connector.
Regards,
Praveen R
Comments
-
@prangadhamaiah Yes, Anaplan Mulesoft v3 connector inherits the refresh token behavior.
Refresh happens only every 30 mins.
I will recommend to raise a support case for your issue so that Anaplan support can help you on this. It will give us more insight on your issue.
0 -
@ashishgoyal Thanks for your reply,
But what i am seeing is, after of the interval of 30 mins, Anaplan Connector will request for token refresh, but it fails, I enabled the logger under the connector and i can see the below requests and response
Request:
https://auth.anaplan.com/token/refresh
POST
X-AConnect-Client: Mulesoft3.0.0
Authorization: AnaplanAuthToken Here goes the token value that was used in previous requestsResponse: 401
Date: Wed, 04 Mar 2020 14:26:58 GMT
Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Type: application/json
Vary: Accept-Encoding,User-Agent
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000
Keep-Alive: timeout=10, max=100
Connection: Keep-AliveBody: {
"status" : "FAILURE_INVALID_TOKEN",
"statusMessage" : "Invalid token"
}and then the next subsequent request successfully fetches the new token, so what i have done is i have used the connector under Untill successful scope, so it fails while refreshing the token after half an hour but immediately it retries and this time the connector issues authenticate request via certificate and successfully fetches the token.
But with v2 connector you don't need retries with until successful scope, the connector was able to refresh the token automatically.
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways