coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Payload is invalid" error in Storage Management and Deployment

Open rockstarsunlimited opened this issue 9 months ago • 0 comments

Error Message and Logs

Bug Report: "Payload is invalid" error in Storage Management and Deployment

Issue Description

We're experiencing a "payload is invalid" error in two places:

  1. During deployment of our application
  2. When accessing the Persistent Storage management interface in Coolify

The error appears in Coolify's storage management view (/var/www/html/resources/views/livewire/project/service/storage.blade.php), suggesting it's a Coolify-specific issue rather than an application problem.

Steps to Reproduce

  1. Navigate to the development environment in Coolify
  2. Go to Persistent Storage section
  3. The error occurs immediately, showing:
    500
    Wait, this is not cool...
    There has been an error with the following error message:
    The payload is invalid.
    

Environment Details

  • Coolify Version: [Please add your Coolify version]
  • Docker Version: [Please add your Docker version]
  • OS: [Please add your OS version]

Application Configuration

Our docker-compose.yml uses the following volume mappings:

volumes:
  - /data/coolify/volumes/content-development:/var/www/html/content
  - /data/coolify/volumes/storage-development:/var/www/html/storage
  - /data/coolify/volumes/media-development:/var/www/html/public/media

Additional Context

  1. The error occurs in both the storage management interface and during deployment
  2. The error appears to be related to how Coolify handles volume management
  3. The error occurs in Coolify's own interface, not in our application code
  4. The same error message appears in both contexts, suggesting a systemic issue

Expected Behavior

  1. The Persistent Storage interface should load normally
  2. Deployment should proceed without the "payload is invalid" error

Actual Behavior

  1. The Persistent Storage interface fails to load with a 500 error
  2. Deployment fails with the same "payload is invalid" error

Additional Information

  • This issue prevents us from managing persistent storage and deploying our application
  • The error appears to be related to Coolify's internal handling of volume configurations
  • The error occurs in Coolify's own interface, suggesting it's not an application-specific issue

Questions

  1. Is this a known issue with specific Coolify versions?
  2. Are there any specific volume path formats that Coolify expects?
  3. Could this be related to permissions on the host volumes?

Steps to Reproduce

Example Repository URL

No response

Coolify Version

v4.0.0-beta.401

Are you using Coolify Cloud?

Yes (Coolify Cloud)

Operating System and Version (self-hosted)

Ubuntu 24.10

Additional Information

No response

rockstarsunlimited avatar Mar 29 '25 13:03 rockstarsunlimited