iOS App Problem

I have installed the self-hosted application and all seems to work fine. I downloaded the iOS app and paid the in-app purchase to connect to my self-hosted installation. I added the API_SECRET field to the .env file with a password. I followed the instructions to set up the mobile app. I “successfully connected to API”.

However, when I try to log in, I get the following error:

Loaded and unprocessable response (405) with content type ‘text/html’

I have tried repeating all the steps again, but I continue to get the same error.

Thank you for your assistance in remedying this.

Hi rda,

This sounds like a domain redirect/rewrite issue. Have you installed your invoiceninja in a subdirectory?

Yes, a subdirectory (not a subdomain).

So this problem is due to the URL changing after login, ie:

will then get re-written to

You may want to try creating a subdomain that way the URL will remain consistent and the mobile app will be able to hit all the required routes.