Home Forums Support API_SECRET on Android App

This topic contains 2 replies, has 3 voices, and was last updated by  DavidBomba 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9568

    garlicsuter
    Participant

    I followed the mobile app directions for adding API_SECRET entry into the .env file in the Ninja root install (Took me a bit, had to turn on “show hidden files” in the cPanel file manager).

    In the Android app settings, I enter the installation URL, my api secret, then get “Something went wrong. Undefined error occured.”. I tried adding/removing the “s” in http, as well as interchanging http://ninja.mydomain.com and http://mydomain.com/ninja but I either get “invalid URL” or the above undefined error. I triple checked my env file looks exactly as in the mobile apps docs, capitalization and everything.

    #9571

    Hillel Coren
    Keymaster

    Are there any errors in the logs in storage/logs/laravel-error.log

    #10454

    DavidBomba
    Keymaster

    Just to confirm you have followed these instructions?

    http://docs.invoiceninja.com/en/latest/mobile_apps.html

    Sometimes the URL is re-written by the webserver to have /public in it as well.

    Make sure the URL is EXACTLY the same as the web.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: