[MKTAUT-39] Generate new token when token is expired Created: 10/Oct/19  Updated: 04/Dec/19  Resolved: 25/Oct/19

Status: Closed
Project: Marketing Automation
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1.5h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MKTAUT-16 Introduce Cache for fetched external ... Closed
is cloned by MKTAUT-51 re-generate new token when token is e... Closed
is cloned by MKTAUT-71 Generate new token when token is invalid Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Forms export
Sprint: Add-Ons 23
Story Points: 3

 Description   

After running instance for long time may be 2hours. Token of marketo is expired. We should generate the new one

Here is error log:

ERROR info.magnolia.marketingautomation.marketo.client.MarketoClient 09.10.2019 13:59:08 -- Couldn't get result from response, any error(s) occurred:
"602", "Access token expired"

Source of problem: May be from expired time of cache. See https://git.magnolia-cms.com/projects/ADDON/repos/marketing-automation/browse/marketing-automation-marketo-connector/src/main/java/info/magnolia/marketingautomation/marketo/client/MarketoClientProvider.java#50


Generated at Mon Feb 12 10:11:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.