Skip to content

Commit 8d7ac4a

Browse files
Merge pull request #365 from softlayer/1740778370
20250228 Release
2 parents bb7f4b6 + d7fae25 commit 8d7ac4a

File tree

14 files changed

+354
-43
lines changed

14 files changed

+354
-43
lines changed
Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="description" content="SoftLayer API Examples, implementations, and release notes.">
9+
<meta name="author" content="SoftLayer">
10+
11+
<title>Failed to Exchange Token - https://sldn.softlayer.com/</title>
12+
<link rel="canonical" href="https://sldn.softlayer.com/article/FailedToExchangeToken/">
13+
<link href="https://sldn.softlayer.com/css/main.css" rel="stylesheet">
14+
<link href="https://sldn.softlayer.com/css/bootstrap.css" rel="stylesheet">
15+
<link href="https://sldn.softlayer.com/css/custom.css" rel="stylesheet">
16+
<link href="https://sldn.softlayer.com/css/monokai.css" rel="stylesheet">
17+
<link href="https://sldn.softlayer.com/css/highlight/solarized_dark.css" rel="stylesheet">
18+
19+
20+
<script src="https://sldn.softlayer.com/js/highlight.pack.js"></script>
21+
22+
<script>hljs.initHighlightingOnLoad();</script>
23+
<link rel="shortcut icon" href="https://sldn.softlayer.com/img/favicon.ico" type="image/x-icon" />
24+
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato" />
25+
26+
27+
<script src="https://sldn.softlayer.com/js/jquery-3.3.1.min.js"></script>
28+
<script src="https://sldn.softlayer.com/js/sldn.js"></script>
29+
30+
31+
<link href="https://sldn.softlayer.com/fontawesome/css/fontawesome.min.css" rel="stylesheet" type="text/css">
32+
<link href="https://sldn.softlayer.com/fontawesome/css/brands.min.css" rel="stylesheet" type="text/css">
33+
<link href="https://sldn.softlayer.com/fontawesome/css/solid.min.css" rel="stylesheet" type="text/css">
34+
35+
<script defer src="https://sldn.softlayer.com/fontawesome/js/solid.min.js"></script>
36+
<script defer src="https://sldn.softlayer.com/fontawesome/js/brands.min.js"></script>
37+
<script defer src="https://sldn.softlayer.com/fontawesome/js/fontawesome.min.js"></script>
38+
39+
<script>
40+
var head = document.getElementsByTagName('head')[0]
41+
var style = document.createElement('link')
42+
style.type = 'text/css'
43+
style.rel = 'stylesheet'
44+
style.id = "dark-theme"
45+
if (localStorage.getItem("dark-mode-theme") == "dark") {
46+
style.href = '/css/dark.css'
47+
} else {
48+
style.href = '/css/light.css'
49+
}
50+
head.append(style)
51+
</script>
52+
53+
<script>
54+
$(document).ready(function() {
55+
$('table').addClass("table table-hover table-striped")
56+
setThemeMode(localStorage.getItem("dark-mode-theme") || "dark");
57+
})
58+
</script>
59+
60+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9XPZ9ZBSJE"></script>
61+
<script>
62+
var doNotTrack = false;
63+
if ( false ) {
64+
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
65+
var doNotTrack = (dnt == "1" || dnt == "yes");
66+
}
67+
if (!doNotTrack) {
68+
window.dataLayer = window.dataLayer || [];
69+
function gtag(){dataLayer.push(arguments);}
70+
gtag('js', new Date());
71+
gtag('config', 'G-9XPZ9ZBSJE');
72+
}
73+
</script>
74+
</head>
75+
76+
<body>
77+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
78+
<div class="nav-container">
79+
<div class="navbar-header" style="width: 150px">
80+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
81+
<span class="sr-only">Toggle Navigation</span>
82+
<span class="icon-bar"></span>
83+
<span class="icon-bar"></span>
84+
<span class="icon-bar"></span>
85+
</button>
86+
<a class="navbar-brand" href="https://sldn.softlayer.com/">SoftLayer API</a>
87+
</div>
88+
89+
<div class="navbar-header" style="width: calc(100% - 350px)">
90+
<ul class="nav navbar-nav" style="width: 100%">
91+
92+
<li><a href="https://sldn.softlayer.com/article/">Articles</a></li>
93+
94+
<li><a href="https://sldn.softlayer.com/reference/softlayerapi">Docs</a></li>
95+
96+
<li><a href="https://sldn.softlayer.com/go/">Go</a></li>
97+
98+
<li><a href="https://sldn.softlayer.com/java/">Java</a></li>
99+
100+
<li><a href="https://sldn.softlayer.com/php/">PHP</a></li>
101+
102+
<li><a href="https://sldn.softlayer.com/python/">Python</a></li>
103+
104+
<li><a href="https://sldn.softlayer.com/rest/">Rest</a></li>
105+
106+
<li><a href="https://sldn.softlayer.com/ruby/">Ruby</a></li>
107+
108+
<li><a href="https://sldn.softlayer.com/tools/">Tools</a></li>
109+
110+
<li class="nav-item">
111+
<a id="dark-toggle" class="dark-mode-toggle" aria-label="dark-mode-toggle" style="color: var(--Red); font-size: 20px">
112+
<i class="fas fa-sun"></i>
113+
</a>
114+
</li>
115+
</ul>
116+
</div>
117+
118+
<div id="custom-search-input" class="pull-right" style="width: 200px">
119+
<form class="navbar-form" role="search" method="get" action="https://www.bing.com/search">
120+
<div class="input-group col-md-12">
121+
<input type="text" class="form-control input-md" placeholder="Search" name="q" id="srch-term">
122+
<input type="hidden" name="q1" value="site:sldn.softlayer.com" />
123+
<div class="input-group-btn">
124+
<button class="btn btn-info" type="submit">
125+
<i class="glyphicon glyphicon-search"></i>
126+
</button>
127+
</div>
128+
</div>
129+
</form>
130+
</div>
131+
132+
</div>
133+
</nav>
134+
135+
<script type="text/javascript">
136+
const darkIconClass = 'fas fa-moon'
137+
const lightIconClass = 'fas fa-sun'
138+
var darkCSS = $("#dark-theme");
139+
var darkToggleIcon = $("#dark-toggle i");
140+
141+
142+
143+
144+
function setThemeMode(mode) {
145+
localStorage.setItem("dark-mode-theme", mode);
146+
if (mode === "dark") {
147+
darkToggleIcon.attr('class', darkIconClass)
148+
} else {
149+
darkToggleIcon.attr('class', lightIconClass)
150+
}
151+
}
152+
153+
154+
$("#dark-toggle").click(function () {
155+
if (darkToggleIcon.attr("class") == lightIconClass) {
156+
setThemeMode("dark")
157+
} else if (darkToggleIcon.attr("class") == darkIconClass) {
158+
setThemeMode("light")
159+
}
160+
location.reload();
161+
});
162+
</script>
163+
<div class="container">
164+
<div class="row main-top">
165+
166+
<div class="col-md-3">
167+
<div style="word-wrap: break-word;">
168+
<h4>February 28, 2025<br></h4>
169+
</div>
170+
</div>
171+
<div class="col-md-9">
172+
<strong>Tags <span class="fa fa-tags"/></strong>
173+
174+
<a class="label label-danger" href="https://sldn.softlayer.com/tags/article">article</a>
175+
176+
<a class="label label-danger" href="https://sldn.softlayer.com/tags/sldn">sldn</a>
177+
178+
<a class="label label-danger" href="https://sldn.softlayer.com/tags/authentication">authentication</a>
179+
180+
<a class="label label-danger" href="https://sldn.softlayer.com/tags/errors">errors</a>
181+
182+
</div>
183+
</div>
184+
<hr>
185+
<div class="row">
186+
<div class="col-md-12">
187+
<div class="well well-sm article" style="word-wrap: break-word;">
188+
<div class="article-title">
189+
<h1>Failed to Exchange Token</h1>
190+
<small>How to fix the &#39;SoftLayer_Exception: Failed to exchange token (HTTP 500)&#39; error</small>
191+
</div>
192+
193+
194+
195+
<h1 id="the-fix">The Fix</h1>
196+
<p>The user getting this error will need to have their <a href="https://cloud.ibm.com/docs/account?topic=account-iamuserinv&amp;interface=ui#change-ibm-id">IBMid Updated</a>.</p>
197+
<p>Basically, just press this button on the users profile page, and link it to a currently valid IBMid</p>
198+
<img src="https://sldn.softlayer.com/img/articles/UpdateIBMid.png" alt="Update IBMid" width="100%"/>
199+
<h1 id="the-problem">The Problem</h1>
200+
<p><code>SoftLayer_Exception: Failed to exchange token (HTTP 500)</code> Happens because the user on your account is linked to an IBMid that is no longer valid.
201+
On January 22 2025, an update went out allowing better integration with IBM&rsquo;s IAM policies for Classic Infrastructure users, which requires users be linked to a valid IBMid now.</p>
202+
203+
</div>
204+
</div>
205+
206+
</div>
207+
<hr>
208+
<div class="row">
209+
<div class="col-md-6">
210+
<div class="well well-sm footer" style="word-wrap: break-word;">
211+
<strong>Feedback? <span class="fas fa-comment"/></strong>
212+
<p>
213+
If this article contains any error, or leaves any of your questions unanswered, please help us out by
214+
opening up a github issue.<br>
215+
<a class="" href="https://github.com/softlayer/githubio_source/issues/new?title=Feedback%20for%20article%20-%20Failed%20to%20Exchange%20Token&body=Feedback+regarding%3A%20https%3a%2f%2fsldn.softlayer.com%2farticle%2fFailedToExchangeToken%2f"> Open an issue</a>
216+
<i class="fab fa-github" alt="github"></i>
217+
<span> - </span>
218+
<a class="" href="https://github.com/softlayer/githubio_source/edit/master/content/article/FailedToExchangeToken.md" style="text-align: right;"> Quick Edit</a>
219+
<i class="fab fa-github" alt="github"></i>
220+
221+
</p>
222+
</div>
223+
</div>
224+
225+
</div>
226+
<footer>
227+
<div class="row">
228+
<div class="col-sm-12 footer">
229+
<p>&copy; SoftLayer 2025<br>
230+
Built with <a href="https://github.com/spf13/hugo">Hugo</a></p>
231+
</div>
232+
</div>
233+
</footer>
234+
</div>
235+
236+
<script src="https://sldn.softlayer.com/js/jquery.js"></script>
237+
<script src="https://sldn.softlayer.com/js/bootstrap.js"></script>
238+
</body>
239+
</html>
240+

article/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@ <h1> Articles </h1>
168168

169169
<div class="well well-sm example">
170170
<h4>
171+
<a href="https://sldn.softlayer.com/article/FailedToExchangeToken/"><i class="fas fa-terminal"></i> Failed to Exchange Token </a> <small class="pull-right">Feb 28, 2025</small><br>
172+
</h4>
173+
<div class = "example-summary"> How to fix the &#39;SoftLayer_Exception: Failed to exchange token (HTTP 500)&#39; error</div>
174+
<a class="btn btn-primary btn-xs" href="https://sldn.softlayer.com/article/FailedToExchangeToken/"><i class="fas fa-file"></i> Read Me </a>
175+
</div>
176+
177+
<div class="well well-sm example">
178+
<h4>
171179
<a href="https://sldn.softlayer.com/article/openAPI/"><i class="fas fa-terminal"></i> Open API Definitions for SLDN </a> <small class="pull-right">Nov 12, 2024</small><br>
172180
</h4>
173181
<div class = "example-summary"> Introducing OpenAPI spec sheet for SLDN api</div>

img/articles/UpdateIBMid.png

173 KB
Loading

index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<language>en-US</language>
66
<author>Enthusiastic Hugo User</author>
77
<rights>Copyright (c) 2014, Enthusiastic Hugo User; all rights reserved.</rights>
8-
<updated>Thu, 30 Jan 2025 00:00:00 UTC</updated>
8+
<updated>Fri, 28 Feb 2025 00:00:00 UTC</updated>
99

1010
<item>
1111
<title>Release_notes</title>

sitemap.xml

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,67 @@
11
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
22

33
<url>
4-
<loc>https://sldn.softlayer.com/tags/release-notes/</loc>
5-
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
4+
<loc>https://sldn.softlayer.com/tags/article/</loc>
5+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
66
</url>
77

88
<url>
9-
<loc>https://sldn.softlayer.com/release_notes/2025/20250130/</loc>
10-
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
9+
<loc>https://sldn.softlayer.com/tags/authentication/</loc>
10+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
1111
</url>
1212

1313
<url>
14-
<loc>https://sldn.softlayer.com/release_notes/</loc>
15-
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
14+
<loc>https://sldn.softlayer.com/tags/errors/</loc>
15+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
16+
</url>
17+
18+
<url>
19+
<loc>https://sldn.softlayer.com/article/FailedToExchangeToken/</loc>
20+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
21+
</url>
22+
23+
<url>
24+
<loc>https://sldn.softlayer.com/tags/sldn/</loc>
25+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
1626
</url>
1727

1828
<url>
1929
<loc>https://sldn.softlayer.com/</loc>
20-
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
30+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
2131
</url>
2232

2333
<url>
2434
<loc>https://sldn.softlayer.com/tags/</loc>
35+
<lastmod>2025-02-28T00:00:00+00:00</lastmod>
36+
</url>
37+
38+
<url>
39+
<loc>https://sldn.softlayer.com/tags/release-notes/</loc>
2540
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
2641
</url>
2742

2843
<url>
29-
<loc>https://sldn.softlayer.com/release_notes/2025/20250109/</loc>
30-
<lastmod>2025-01-09T00:00:00+00:00</lastmod>
44+
<loc>https://sldn.softlayer.com/release_notes/2025/20250130/</loc>
45+
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
3146
</url>
3247

3348
<url>
34-
<loc>https://sldn.softlayer.com/release_notes/2024/20241206/</loc>
35-
<lastmod>2024-12-06T00:00:00+00:00</lastmod>
49+
<loc>https://sldn.softlayer.com/release_notes/</loc>
50+
<lastmod>2025-01-30T00:00:00+00:00</lastmod>
3651
</url>
3752

3853
<url>
39-
<loc>https://sldn.softlayer.com/tags/article/</loc>
40-
<lastmod>2024-11-12T00:00:00+00:00</lastmod>
54+
<loc>https://sldn.softlayer.com/release_notes/2025/20250109/</loc>
55+
<lastmod>2025-01-09T00:00:00+00:00</lastmod>
4156
</url>
4257

4358
<url>
44-
<loc>https://sldn.softlayer.com/article/openAPI/</loc>
45-
<lastmod>2024-11-12T00:00:00+00:00</lastmod>
59+
<loc>https://sldn.softlayer.com/release_notes/2024/20241206/</loc>
60+
<lastmod>2024-12-06T00:00:00+00:00</lastmod>
4661
</url>
4762

4863
<url>
49-
<loc>https://sldn.softlayer.com/tags/sldn/</loc>
64+
<loc>https://sldn.softlayer.com/article/openAPI/</loc>
5065
<lastmod>2024-11-12T00:00:00+00:00</lastmod>
5166
</url>
5267

@@ -48940,11 +48955,6 @@
4894048955
<lastmod>2016-09-19T00:00:00+00:00</lastmod>
4894148956
</url>
4894248957

48943-
<url>
48944-
<loc>https://sldn.softlayer.com/tags/errors/</loc>
48945-
<lastmod>2016-09-19T00:00:00+00:00</lastmod>
48946-
</url>
48947-
4894848958
<url>
4894948959
<loc>https://sldn.softlayer.com/go/execute_remote_script/</loc>
4895048960
<lastmod>2016-09-19T00:00:00+00:00</lastmod>
@@ -49670,11 +49680,6 @@
4967049680
<lastmod>2015-11-18T00:00:00+00:00</lastmod>
4967149681
</url>
4967249682

49673-
<url>
49674-
<loc>https://sldn.softlayer.com/tags/authentication/</loc>
49675-
<lastmod>2015-11-15T00:00:00+00:00</lastmod>
49676-
</url>
49677-
4967849683
<url>
4967949684
<loc>https://sldn.softlayer.com/ruby/token_auth/</loc>
4968049685
<lastmod>2015-11-15T00:00:00+00:00</lastmod>

tags/article/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@
171171
<h3>article</h3>
172172
<ul>
173173

174+
<li>
175+
<a href="https://sldn.softlayer.com/article/FailedToExchangeToken/">Failed to Exchange Token</a>
176+
<div class="meta">How to fix the &#39;SoftLayer_Exception: Failed to exchange token (HTTP 500)&#39; error</div>
177+
</li>
178+
174179
<li>
175180
<a href="https://sldn.softlayer.com/article/openAPI/">Open API Definitions for SLDN</a>
176181
<div class="meta">Introducing OpenAPI spec sheet for SLDN api</div>

0 commit comments

Comments
 (0)