422 Error When Creating Deposit Transaction — “The selected base type is invalid.”

Version: Invoice Ninja v5.11.73-C172
Environment:

  • Self-hosted VM
  • Apache 2.4.52
  • PHP 8.2.28 (CLI and Web)
  • OS: Ubuntu 22.04 LTS
  • Memory Limit: 3072M (no constraints)
  • Webserver: Apache (not NGINX)
  • Hosting Hypervisor: Proxmox VE 8.4.0

:white_check_mark: What I’m Doing

Trying to add a transaction manually (Deposit) from the Invoice Ninja interface:

  • Type: Deposit
  • Amount: $148.50
  • Currency: AUD
  • Bank Account: (Registered default account)
  • Description: Payment for Invoice: 051223034-439

:cross_mark: What Happens

I receive this error:

422: Unprocessable Content
• The given data was invalid.
• The selected base type is invalid.

:test_tube: What I’ve Already Done

  • PHP has been upgraded to 8.2 (confirmed via CLI and Web).
  • memory_limit is set to 3072M and confirmed via phpinfo() and php -i.
  • File permissions across /var/www/invoiceninja have been validated and set to www-data.
  • Ran php artisan migrate --force — no pending migrations.
  • Cleared queue and Laravel caches:

php artisan queue:flush
php artisan queue:restart
php artisan optimize:clear

  • Restarted Apache.
  • No unusual logs in storage/logs/laravel.log except a consistent queue warning on App\Jobs\Util\VersionCheck.
  • “Invalid File Permission” warning now gone.
  • Health Check passes — but the error persists when attempting to save a transaction.

Last Queue error.txt (6.4 KB)
laravel-log.txt (9.4 KB)
Last Error.txt (407 Bytes)



1 Like

Hi,

It may be a bug, I suggest asking in a discussion on GitHub.