Upload Image using ActiveStorage and Angular (ActiveSupport::MessageVerifier::InvalidSignature)

guys. Please help me this issue *** ActiveSupport::MessageVerifier::InvalidSignature Exception: ActiveSupport::MessageVerifier::InvalidSignature

Angular, i have a data

company: {
      description: "Description"
      logo: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAA"
      name: "Username"
    }

Rails:

class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true
  include ActiveStorageSupport::SupportForBase64 #Add  ActiveStorageSupport::SupportForBase64
end

Company.rb model

class Company < ApplicationRecord
  has_many :job_companies, :dependent => :destroy
  has_one_base64_attached :logo
end

CompanyController.rb def company_params: param.require(:company).permit(:name, :description, [:logo])

    def create
      company = Company.new(company_params.merge(user_id: current_user.id))
      if company.save
        render json: {message: 'Company Create successfully', data: CompanySerializer.new(company)}
      else
        render json: {message: 'Company Create Failed', data: company.errors.full_messages}
      end
    end
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum