# Device is not connected

**URL:** <https://community.particle.io/t/device-is-not-connected/7421>\
**Category:** Troubleshooting\
**Created:** [October 10, 2014, 8:50pm UTC](https://community.particle.io/t/device-is-not-connected/7421 "2014-10-10T20:50:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 10, 2014, 8:50pm UTC](https://community.particle.io/t/device-is-not-connected/7421/1 "2014-10-10T20:50:09Z")

</div>

My core, which has been working until the past couple of days, has stopped working completely. I’ve gone through several resets, flashing cc3000 firmware, trying deep update, and everything seems like it should work. I have ‘breathing cyan’ back, it has an IP on my network, but I get:

```auto
$ spark core add <id>
Claiming core <id>
Failed to claim core, server said ['Device is not connected']
Potentially unhandled rejection [1] {"ok":false,"errors":["Device is not connected"]} (WARNING: non-Error used)

```

Any suggestions?

---

<div class="post-metadata">

**Author:** ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)\
**Post date:** [October 10, 2014, 9:35pm UTC](https://community.particle.io/t/device-is-not-connected/7421/2 "2014-10-10T21:35:36Z")

</div>

Hi @ebarendt

When someone has a problem where it was working for a while and then suddenly seems to stop, I always recommend that you check your access token and see if it has expired.

[http://docs.spark.io/api/#authentication-list-all-your-tokens](http://docs.spark.io/api/#authentication-list-all-your-tokens)

There were problems with the Spark cloud a few nights ago but I think they are all resolved now.

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 10, 2014, 9:56pm UTC](https://community.particle.io/t/device-is-not-connected/7421/3 "2014-10-10T21:56:00Z")

</div>

I was not using the spark-cli before today when I tried to debug, so when I logged in, it got a different token than I got through the web UI before.

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 10, 2014, 9:59pm UTC](https://community.particle.io/t/device-is-not-connected/7421/4 "2014-10-10T21:59:02Z")

</div>

Oh, and I can’t even ping the core’s IP from my laptop.

---

<div class="post-metadata">

**Author:** ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)\
**Post date:** [October 10, 2014, 10:00pm UTC](https://community.particle.io/t/device-is-not-connected/7421/5 "2014-10-10T22:00:15Z")

</div>

Just an FYI–answering ping’s autonomously was removed by TI in the last TI CC3000 patch to make room for other bug fixes, so that’s not really an indication that anything is wrong.

---

<div class="post-metadata">

**Author:** ![KingRex](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KingRex](https://community.particle.io/u/KingRex)\
**Post date:** [October 11, 2014, 12:35am UTC](https://community.particle.io/t/device-is-not-connected/7421/6 "2014-10-11T00:35:13Z")

</div>

I’m having the same issue. Was working fine,then last night it stopped. I did a reset and managed to load the wifi credentials through cli but it wont claim it. I’m getting the same error “device is not connected”. somehow it detects the device for credentials but not for claiming. I also tried claiming through the ide and still nothing. I contacted Joe @spark but we have not resolved it yet.

I"ll update if any progress is made

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [October 11, 2014, 2:41am UTC](https://community.particle.io/t/device-is-not-connected/7421/7 "2014-10-11T02:41:32Z")

</div>

@KingRex,

have your core been claimed already? `spark list` will give you a list of cores tied to your account.

If it has been claimed already, simply add in or remove Wifi credentials and you are good to go.

Let me know if you need more help etc. I’ll be having around the forum. 😉

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 11, 2014, 2:43am UTC](https://community.particle.io/t/device-is-not-connected/7421/8 "2014-10-11T02:43:42Z")

</div>

I can’t claim mine because it says “Device is not connected”, even though it’s breathing cyan. Sounds like he has the same problem - ok for connecting, can’t claim it.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [October 11, 2014, 2:45am UTC](https://community.particle.io/t/device-is-not-connected/7421/9 "2014-10-11T02:45:40Z")

</div>

@ebarendt, same question to you, has it been claimed before? 😄

There might be a slight delay for the API to respond to the request but give or take 10 seconds should be fine.

1.) You can claim using `spark core add` using `Spark-cli` OR

2.) Use the Web IDE to add a core via the **Cores** tab

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 11, 2014, 2:47am UTC](https://community.particle.io/t/device-is-not-connected/7421/10 "2014-10-11T02:47:39Z")

</div>

It has been, yes, but is no longer on my account. And any attempt to `spark core add` or `spark cloud claim` or claim via the web UI fails.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [October 11, 2014, 3:06am UTC](https://community.particle.io/t/device-is-not-connected/7421/11 "2014-10-11T03:06:01Z")

</div>

You might be logon to an incorrect account then?

If it has been claimed, it will not disappear from the list. Sometimes, it’s just a typo in the login email. 😃

Try this: [https://api.spark.io/v1/devices/CORE\_ID?access\_token=ACCESS\_TOKEN\_HERE](https://api.spark.io/v1/devices/CORE_ID?access_token=ACCESS_TOKEN_HERE)"

The access token can be found under **settings** tab on the Web IDE

---

<div class="post-metadata">

**Author:** ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)\
**Post date:** [October 11, 2014, 3:06am UTC](https://community.particle.io/t/device-is-not-connected/7421/12 "2014-10-11T03:06:33Z")

</div>

I think this is a good question for @Dave since there have been other cloud issues lately.

@ebarendt some folks have had this problem when they accidentally end up with two Spark accounts with two different email addresses or a typo in their email address. [@kennethlimcp beat me to it!]

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 11, 2014, 3:09am UTC](https://community.particle.io/t/device-is-not-connected/7421/13 "2014-10-11T03:09:39Z")

</div>

@kennethlimcp I mistakenly ran `spark core remove` earlier when trying everything I could to get back to a blank slate. The web UI, which I have used to program the core and previously worked, also does not list the core, so I don’t think it’s because I have logged into a different account.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [October 11, 2014, 4:06am UTC](https://community.particle.io/t/device-is-not-connected/7421/14 "2014-10-11T04:06:41Z")

</div>

Cool! Can you try the browser url option I suggested?

---

<div class="post-metadata">

**Author:** ![ebarendt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ebarendt/32/3300_2.png) [@ebarendt](https://community.particle.io/u/ebarendt)\
**Post date:** [October 11, 2014, 4:19am UTC](https://community.particle.io/t/device-is-not-connected/7421/15 "2014-10-11T04:19:02Z")

</div>

`https://api.spark.io/v1/devices/<device-id>?access_token=<token>` gives

```auto
{
  error: "Permission Denied",
  info: "I didn't recognize that core name or ID, try opening https://api.spark.io/v1/devices?access_token=<token>"
}

```

Which is different than if I access with a wrong token, so I know my access token is good.

`https://api.spark.io/v1/devices?access_token=<token>` gives:

```auto
[]

```

---

<div class="post-metadata">

**Author:** ![KingRex](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KingRex](https://community.particle.io/u/KingRex)\
**Post date:** [October 11, 2014, 4:45am UTC](https://community.particle.io/t/device-is-not-connected/7421/16 "2014-10-11T04:45:47Z")

</div>

I had it claimed for a week or so. When it stopped responding last night ( after many failed attempts to restart and clearing wifi credentials), I removed the core from my account and did a factory reset in hopes that a fresh start would make it work, no such luck. I also tried claiming through ide but it can’t find the core.

Its strange, I can save wifi credebtials (over usb and smart config), it breathes a nice healthy cyan color but it wont claim it.

---

<div class="post-metadata">

**Author:** ![KingRex](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KingRex](https://community.particle.io/u/KingRex)\
**Post date:** [October 11, 2014, 4:51am UTC](https://community.particle.io/t/device-is-not-connected/7421/17 "2014-10-11T04:51:40Z")

</div>

{  
“error”: “Permission Denied”,  
“info”: "I didn’t recognize that core name or ID, try opening [https://api.spark.io/v1/devices?access\_token=XXX](https://api.spark.io/v1/devices?access_token=XXX)  
}

tried the url you posted, and this is what I got.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [October 11, 2014, 5:03am UTC](https://community.particle.io/t/device-is-not-connected/7421/18 "2014-10-11T05:03:17Z")

</div>

@KingRex, can you try adding the core via the Web Ide?

I will try on my side and see if it works as well

* * *

**Update**

I removed my core from my account and added it again.

@ebarendt, what happens when you add the core id via Web IDE?

@KingRex can you try adding via the Web IDE?

Sorry guys for the inconvenience! It shouldn’t be cubersome but we probably missed some steps. 😉

---

<div class="post-metadata">

**Author:** ![KingRex](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KingRex](https://community.particle.io/u/KingRex)\
**Post date:** [October 11, 2014, 5:12am UTC](https://community.particle.io/t/device-is-not-connected/7421/19 "2014-10-11T05:12:44Z")

</div>

tried that, “could not claim core”

new development, now I cant even get it to connect to wifi anymore. the cli says eveything is ok and that “spark \<3 you!” I dont believe it. The led is blinking green really fast for about 10-15 seconds then it turns cyan for 1 second then goes back to panic green. keeps repeating over an over

---

<div class="post-metadata">

**Author:** ![KingRex](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KingRex](https://community.particle.io/u/KingRex)\
**Post date:** [October 11, 2014, 5:15am UTC](https://community.particle.io/t/device-is-not-connected/7421/20 "2014-10-11T05:15:28Z")

</div>

kennethlimcp, thank you for your help.

[Next page](https://community.particle.io/t/device-is-not-connected/7421.md?page=2)
