# Device doesn't appear into the devices list

**URL:** <https://forums.balena.io/t/device-doesnt-appear-into-the-devices-list/155382>\
**Category:** openBalena\
**Created:** [July 15, 2020, 4:58pm UTC](https://forums.balena.io/t/device-doesnt-appear-into-the-devices-list/155382 "2020-07-15T16:58:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![PastaGringo](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/pastagringo/32/4175_2.png) [@PastaGringo](https://forums.balena.io/u/PastaGringo)\
**Post date:** [July 15, 2020, 11:04pm UTC](https://forums.balena.io/t/device-doesnt-appear-into-the-devices-list/155382/5 "2020-07-15T23:04:07Z")

</div>

Thanks for the answer @pipex.

The apiEndpoint is well configured :

`"apiEndpoint": "https://api.openbalena.mydomain.com"`

Here is the supervisor log output get by the command `journalctl --follow --unit=resin-supervisor`:

`root@3ae97dc:~# journalctl --follow --unit=resin-supervisor -- Logs begin at Mon 2020-05-11 13:18:42 UTC. -- Jul 15 22:52:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:52:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:52:42 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:52:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:53:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:53:12 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:53:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:53:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:53:42 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:53:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:54:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:54:12 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:54:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:54:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:54:42 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:54:42 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}} Jul 15 22:55:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap {} Jul 15 22:55:12 3ae97dc resin-supervisor[2047]: [info] New device detected. Provisioning... Jul 15 22:55:12 3ae97dc resin-supervisor[2047]: [event] Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"User ID must be a valid integer","stack":"Error: User ID must be a valid integer\n at /usr/src/app/dist/[app.js:2:2630094](http://app.js:2:2630094/)\n at [PassThroughHandlerContext.finallyHandler](http://passthroughhandlercontext.finallyhandler/) (/usr/src/app/dist/[app.js:2:1748917)](http://app.js:2:1748917)/)\n at [PassThroughHandlerContext.tryCatcher](http://passthroughhandlercontext.trycatcher/) (/usr/src/app/dist/[app.js:2:220284)](http://app.js:2:220284)/)\n at [Promise._settlePromiseFromHandler](http://promise._settlepromisefromhandler/) (/usr/src/app/dist/[app.js:2:1708447)](http://app.js:2:1708447)/)\n at [Promise._settlePromise](http://promise._settlepromise/) (/usr/src/app/dist/[app.js:2:1709730)](http://app.js:2:1709730)/)\n at [Promise._settlePromise0](http://promise._settlepromise0/) (/usr/src/app/dist/[app.js:2:1710770)](http://app.js:2:1710770)/)\n at [Promise._settlePromises](http://promise._settlepromises/) (/usr/src/app/dist/[app.js:2:1712478)](http://app.js:2:1712478)/)\n at _drainQueueStep (/usr/src/app/dist/[app.js:2:1715412)](http://app.js:2:1715412)/)\n at _drainQueue (/usr/src/app/dist/[app.js:2:1715308)](http://app.js:2:1715308)/)\n at [Async._drainQueues](http://async._drainqueues/) (/usr/src/app/dist/[app.js:2:1716625)](http://app.js:2:1716625)/)\n at [Immediate.Async.drainQueues](http://immediate.async.drainqueues/) [as _onImmediate] (/usr/src/app/dist/[app.js:2:1715217)](http://app.js:2:1715217)/)\n at processImmediate (internal/[timers.js:456:21)](http://timers.js:456:21)/)"}}`

I’m currently checking these two topics because I found the “User ID must be a valid integer” sentence into :

> [@Device can't register with API](https://forums.balena.io/t/device-cant-register-with-api/120752/19):
>
> I also created another topic about update - [open-balena-api v0.76.3 sql migrations](https://forums.balena.io/t/open-balena-api-v0-76-3-sql-migrations/120343) My current versions: cat compose/versions export OPENBALENA\_API\_VERSION\_TAG=v0.19.5 #export OPENBALENA\_API\_VERSION\_TAG=v0.48.1 #export OPENBALENA\_API\_VERSION\_TAG=v0.66.0 export OPENBALENA\_DB\_VERSION\_TAG=latest export OPENBALENA\_MDNS\_PUBLISHER\_VERSION\_TAG=v1.7.6 export OPENBALENA\_REGISTRY\_VERSION\_TAG=v2.11.1 #export OPENBALENA\_REGISTRY\_VERSION\_TAG=v2.13.7 export OPENBALENA\_S3\_VERSION\_TAG=v2.9.6 export OP…

> [@open-balena-api v0.76.3 sql migrations](https://forums.balena.io/t/open-balena-api-v0-76-3-sql-migrations/120343):
>
> Hi there. I’m trying to use latest API and I found DB issues when calling balena apps. Parsing GET /resin/my\_application?$orderby=app\_name%20asc&$select=id,app\_name,slug,device\_type&$expand=owns\_\_device($select=is\_online) Failed to translate url: { “resource”: “my\_application”, “options”: { “$select”: { “properties”: [ { “name”: “id”, “property”: null, “count”: null }, { “name”: “app\_name”, “property”: null, “count”: null }, { “name”: “slug”, “property”: null, “count”: null …

I’m currenlty finding how to downgrade supervisor because it seems to resolve the issue : [open-balena-api v0.76.3 sql migrations - #32 by mad666](https://forums.balena.io/t/open-balena-api-v0-76-3-sql-migrations/120343/32)

---

_[View the full topic](https://forums.balena.io/t/device-doesnt-appear-into-the-devices-list/155382)._
