# Spark Dev: app code was invalid

**URL:** <https://community.particle.io/t/spark-dev-app-code-was-invalid/8289>\
**Category:** Cloud\
**Created:** [November 20, 2014, 7:59am UTC](https://community.particle.io/t/spark-dev-app-code-was-invalid/8289 "2014-11-20T07:59:36Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [April 1, 2015, 12:49pm UTC](https://community.particle.io/t/spark-dev-app-code-was-invalid/8289/28 "2015-04-01T12:49:36Z")

</div>

> [@Bendrix](#):
>
> As for the other threads that deal with this problem, I've searched and this is the only thread I could find. Could you tell me how to locate the other threads please.

To list just a few of them (not all of them revolve around Spark Dev, but might give some clues - and there might be duplicate suggestions too)

> **[What line is the error in? Web IDE and Spark Dev don't show](https://community.particle.io/t/what-line-is-the-error-in-web-ide-and-spark-dev-dont-show/8874/2)**
>
> Can you show your code? This message sometimes occures when the compiler can’t even start building for some reason and therefore can’t tell you what’s wrong and where.

> **[New Spark Core - No Cores Found](https://community.particle.io/t/new-spark-core-no-cores-found/9585)**
>
> There’s nothing like a poor user experience to spoil the excitement of a new purchase 🙁 The short of it: Plugged Core in -\> followed Android app instructions -\> No Cores Found (light never does anything but blink blue) Logged out of 5GHz...

> **[Spark-Dev include libs](https://community.particle.io/t/spark-dev-include-libs/8896)**
>
> Continuing the discussion from Spark-Dev IDE Questions: How can Spark libs from cloud be included? This, for example, works in the web IDE but not in Spark-Dev: #include "flashee-eeprom/flashee-eeprom.h"

> **[Expected primary-expression before 'INT'](https://community.particle.io/t/expected-primary-expression-before-int/10274/2)**
>
> In this case INT has to be capitalized, since it is a #defined macro and not the type as such.

Please share your code and provide some screenshot (of the complete Spark Dev window), since this might give us some clue about your setup and problem.

---

_[View the full topic](https://community.particle.io/t/spark-dev-app-code-was-invalid/8289)._
