[MKTAUT-71] Generate new token when token is invalid Created: 04/Dec/19  Updated: 12/Dec/19  Resolved: 06/Dec/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: 1h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MKTAUT-39 Generate new token when token is expired 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 26
Story Points: 1

 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:
"601", "Access token invalid"

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:12:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.