# Spark-server not working with particle-cli

**URL:** https://community.particle.io/t/spark-server-not-working-with-particle-cli/20034
**Category:** Cloud
**Created:** [February 13, 2016, 11:12pm UTC](https://community.particle.io/t/spark-server-not-working-with-particle-cli/20034 "2016-02-13T23:12:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dfilkovi](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@dfilkovi](https://community.particle.io/u/dfilkovi)
#### Post date: [February 13, 2016, 11:12pm UTC](https://community.particle.io/t/spark-server-not-working-with-particle-cli/20034/1 "2016-02-13T23:12:48Z")

</div>

I installed local spark-server and now I am trying to connect my photon to my cloud and when I run “particle setup” it asks me for email and password, I enter it and it says:  
"Login Failed: server\_error"  
On server side it says:  
::ffff:93.139.112.36 - - [Sat, 13 Feb 2016 22:53:00 GMT] “POST /oauth/token HTTP/1.1” 503 83 “-” “-”

It seems that “spark-server” does not have /oauth/token method at all?
