Skip to content

[MWPW-186021] fix(LANA): Resolve pre_upload_error_fetching_access_token errors caused by IMS token fetch failures#685

Merged
Ruchika4 merged 5 commits intoadobecom:stagefrom
maagrawal16:MWPW-186021
Mar 5, 2026
Merged

[MWPW-186021] fix(LANA): Resolve pre_upload_error_fetching_access_token errors caused by IMS token fetch failures#685
Ruchika4 merged 5 commits intoadobecom:stagefrom
maagrawal16:MWPW-186021

Conversation

@maagrawal16
Copy link
Collaborator

@maagrawal16 maagrawal16 commented Mar 3, 2026

  • Fix error message serialization for pre_upload_error_fetching_access_token error code
  • Previously, the LANA log was logging the error object as [object Object], making it unreadable:
    Error Code: pre_upload_error_fetching_access_token, Status: null, Message: Unable to process the request, Info: Upload Type: single; Could not fetch access token; Error: [object Object], Account Type: signed-in
  • Wrapped originalError with JSON.stringify so the full error details are now captured in the log
  • Treat IMS invalid_credentials error as a guest user instead of a fatal error, allowing the flow to continue gracefully

Resolves: MWPW-186021

Test URLs:

@maagrawal16 maagrawal16 changed the title [MWPW-186021] Update error message for error code: pre_upload_error_fetching_access_token [MWPW-186021] fix(LANA): Resolve pre_upload_error_fetching_access_token errors caused by IMS token fetch failures Mar 3, 2026
@sigadamvenkata
Copy link
Collaborator

adding verified label, we cover full testing in stage regression

@Ruchika4 Ruchika4 merged commit 68bb3e9 into adobecom:stage Mar 5, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants