# App code error on local server installation

**URL:** <https://forum.dimagi.com/t/app-code-error-on-local-server-installation/3006>\
**Category:** Users\
**Created:** [October 10, 2016, 8:55am UTC](https://forum.dimagi.com/t/app-code-error-on-local-server-installation/3006 "2016-10-10T08:55:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Okoegwale1](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/j/cdc98d/32.png) [@Joseph\_Okoegwale1](https://forum.dimagi.com/u/Joseph_Okoegwale1)\
**Post date:** [October 10, 2016, 8:55am UTC](https://forum.dimagi.com/t/app-code-error-on-local-server-installation/3006/1 "2016-10-10T08:55:15Z")

</div>

Dear all,

I installed a local server on Ubuntu 14.04 and having an issue. I built the  
app successfully however, when I click on app code, I receive this error:

(No app code available. If you would like to use an app code instead of  
scanning the application barcode, try making another version.)

A screenshot is attached.

Any leads? What could be causing this? thanks for your help.

Joseph

![](https://dimagi.b-cdn.net/uploads/default/original/1X/5522ca47023d6ee472440f16ac2f0cf28139c96f.JPG)

---

<div class="post-metadata">

**Author:** ![czue](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/czue/32/493_2.png) [@czue](https://forum.dimagi.com/u/czue)\
**Post date:** [October 10, 2016, 3:01pm UTC](https://forum.dimagi.com/t/app-code-error-on-local-server-installation/3006/2 "2016-10-10T15:01:22Z")

</div>

Hey Joseph,

I'm forwarding this thread to commcare-developers since it is related to a  
local setup.

I think you likely need to specify a bitly acocunt setup in your  
localsettings.py (specifically these two variables).

BITLY\_LOGIN = ''  
BITLY\_APIKEY = ''

cheers,  
Cory

> **···**
>
> On Mon, Oct 10, 2016 at 4:55 AM, Joseph Okoegwale wrote:
> 
> > Dear all,
> > 
> > I installed a local server on Ubuntu 14.04 and having an issue. I built  
> > the app successfully however, when I click on app code, I receive this  
> > error:
> > 
> > (No app code available. If you would like to use an app code instead of  
> > scanning the application barcode, try making another version.)
> > 
> > A screenshot is attached.
> > 
> > Any leads? What could be causing this? thanks for your help.
> > 
> > Joseph
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Joseph\_Okoegwale1](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/j/cdc98d/32.png) [@Joseph\_Okoegwale1](https://forum.dimagi.com/u/Joseph_Okoegwale1)\
**Post date:** [October 10, 2016, 3:18pm UTC](https://forum.dimagi.com/t/app-code-error-on-local-server-installation/3006/3 "2016-10-10T15:18:39Z")

</div>

Thanks Cory, that works. It generated the app code. regards,

Joseph

> **···**
>
> On Monday, October 10, 2016 at 4:01:44 PM UTC+1, Cory Zue wrote: \> \> Hey Joseph, \> \> I'm forwarding this thread to commcare-developers since it is related to a \> local setup. \> \> I think you likely need to specify a bitly acocunt setup in your \> localsettings.py (specifically these two variables). \> \> BITLY\_LOGIN = '' \> BITLY\_APIKEY = '' \> \> cheers, \> Cory \> \> On Mon, Oct 10, 2016 at 4:55 AM, Joseph Okoegwale \<m...@me.net.ng \> wrote: \> \>\> \>\> Dear all, \>\> \>\> I installed a local server on Ubuntu 14.04 and having an issue. I built \>\> the app successfully however, when I click on app code, I receive this \>\> error: \>\> \>\> (No app code available. If you would like to use an app code instead of \>\> scanning the application barcode, try making another version.) \>\> \>\> A screenshot is attached. \>\> \>\> Any leads? What could be causing this? thanks for your help. \>\> \>\> Joseph \>\> \>\> \>\> \>\> -- \>\> You received this message because you are subscribed to the Google Groups \>\> "commcare-users" group. \>\> To unsubscribe from this group and stop receiving emails from it, send an \>\> email to commcare-user...@googlegroups.com . \>\> For more options, visit https://groups.google.com/d/optout. \>\> \> \>
