Skip to content

Failed to exchange token article #697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions content/article/FailedToExchangeToken.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Failed to Exchange Token"
description: "How to fix the 'SoftLayer_Exception: Failed to exchange token (HTTP 500)' error"
date: "2025-02-28"
tags:
- "article"
- "sldn"
- "authentication"
- "errors"
---


# The Fix

The user getting this error will need to have their [IBMid Updated](https://cloud.ibm.com/docs/account?topic=account-iamuserinv&interface=ui#change-ibm-id).

Basically, just press this button on the users profile page, and link it to a currently valid IBMid


<img src="/img/articles/UpdateIBMid.png" alt="Update IBMid" width="100%"/>

# The Problem

`SoftLayer_Exception: Failed to exchange token (HTTP 500)` Happens because the user on your account is linked to an IBMid that is no longer valid.
On January 22 2025, an update went out allowing better integration with IBM's IAM policies for Classic Infrastructure users, which requires users be linked to a valid IBMid now.
Binary file added static/img/articles/UpdateIBMid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.