Skip to content

Add your token button does nothing #68

@atsalafatala

Description

@atsalafatala

After entering the API Token and click search it shows me the list of sensors in this token. When i click on the "add your token" button nothing happens. Any thoughts? thank you in advance!

The console give me this:

xhr.js:210 GET https://wearableapi.planetwatch.io/api/sensors 500 (Internal Server Error)
(anonymous) @ xhr.js:210
n.exports @ xhr.js:15
n.exports @ dispatchRequest.js:56
Promise.then (async)
A.request @ Axios.js:88
a.forEach.A. @ Axios.js:129
(anonymous) @ bind.js:9
(anonymous) @ planetWatchService.ts:9
(anonymous) @ awairService.ts:41
a @ awairService.ts:41
getSensors @ planetWatchService.ts:6
(anonymous) @ scheduler.ts:158
(anonymous) @ reactIndex.tsx:20
a @ reactIndex.tsx:20
loadPWSensorsList @ scheduler.ts:156
(anonymous) @ AvailableSensors.tsx:10
Rs @ react-dom.production.min.js:262
t.unstable_runWithPriority @ scheduler.production.min.js:18
Kr @ react-dom.production.min.js:122
zs @ react-dom.production.min.js:261
gs @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Kr @ react-dom.production.min.js:122
qr @ react-dom.production.min.js:123
Wr @ react-dom.production.min.js:122
hs @ react-dom.production.min.js:244
notify @ Subscription.js:15
notifyNestedSubs @ Subscription.js:85
r @ Subscription.js:90
p @ redux.js:296
(anonymous) @ index.js:20
e. @ bindActionCreators.js:9
(anonymous) @ authorization.tsx:80
(anonymous) @ store.ts:16
a @ store.ts:16
onEvent @ authorization.tsx:72
(anonymous) @ provider.js:58
(anonymous) @ keycloak.mjs:175
Promise.then (async)
o.init @ keycloak.mjs:174
t.init @ provider.js:126
t.componentDidMount @ provider.js:94
fl @ react-dom.production.min.js:219
Ss @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Kr @ react-dom.production.min.js:122
Fs @ react-dom.production.min.js:252
gs @ react-dom.production.min.js:243
ds @ react-dom.production.min.js:237
Qs @ react-dom.production.min.js:285
(anonymous) @ react-dom.production.min.js:289
bs @ react-dom.production.min.js:244
ac @ react-dom.production.min.js:289
t.render @ react-dom.production.min.js:296
4631 @ reactIndex.tsx:14
webpack_require @ bootstrap:19
(anonymous) @ renderer.ts:29
(anonymous) @ renderer.ts:30
(anonymous) @ renderer.ts:30
Show 8 more frames
2scheduler.ts:78 Error: Request failed with status code 500
at n.exports (createError.js:16)
at n.exports (settle.js:17)
at XMLHttpRequest.C (xhr.js:66)
scheduler.ts:163 Error: Request failed with status code 500
at n.exports (createError.js:16)
at n.exports (settle.js:17)
at XMLHttpRequest.C (xhr.js:66)
17scheduler.ts:78 Error: Request failed with status code 500
at n.exports (createError.js:16)
at n.exports (settle.js:17)
at XMLHttpRequest.C (xhr.js:66)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions