Error 422 Unprocessable Content

POST https://lesagribains-app.anybug.net/supporter-lavenir-des-agribains

Forms

  • 1
    donation
    • 1
      firstname
    • 1
      lastname
    • email
    • is_anonymous
    • has_proof
    • donation_fees
    • amount
    • address_line_1
    • post_code
    • city
    • _token

donation

Form type:
"App\Form\Member\DonationType"

Errors

Message Origin Cause
Le jeton CSRF est invalide. Veuillez renvoyer le formulaire. Unknown. Caused by:
Symfony\Component\Security\Csrf\CsrfToken {#1519
  -id: "donation"
  -value: ""
}

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}
View Format same as normalized format

Submitted Data

Property Value
View Format same as normalized format
Normalized Format
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}
Model Format same as normalized format

Passed Options

Option Passed Value Resolved Value
action
"/supporter-lavenir-des-agribains"
same as passed value
attr
[
  "class" => "membership-form"
]
[
  "class" => "membership-form"
]
data
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}
same as passed value

Resolved Options

Option Value
action
"/supporter-lavenir-des-agribains"
allow_extra_fields
false
allow_file_upload
false
attr
[
  "class" => "membership-form"
]
attr_translation_parameters
[]
auto_initialize
true
block_name
null
block_prefix
null
by_reference
true
compound
true
constraints
[]
csrf_field_name
"_token"
csrf_message
"The CSRF token is invalid. Please try to resubmit the form."
csrf_protection
true
csrf_token_id
null
csrf_token_manager
Symfony\Component\Security\Csrf\CsrfTokenManager {#680
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#681 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#682 …}
  -namespace: Closure() {#684 …}
}
data
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}
data_class
"App\Entity\DonationHistory"
disabled
false
empty_data
Closure(FormInterface $form) {#1303
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\Entity\DonationHistory"
  }
}
error_bubbling
true
error_mapping
[]
extra_fields_message
"This form should not contain extra fields."
form_attr
false
getter
null
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
inherit_data
false
invalid_message
"This value is not valid."
invalid_message_parameters
[]
is_empty_callback
null
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
mapped
true
method
"POST"
post_max_size_message
"The uploaded file was too large. Please try to upload a smaller file."
priority
0
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#1301
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …}
    $message: Closure() {#1302 …}
    $translationDomain: "validators"
  }
}
validation_groups
null

View Vars

Variable Value
action
"/supporter-lavenir-des-agribains"
attr
[
  "class" => "membership-form"
]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "donation"
  "_donation"
]
cache_key
"_donation_donation"
compound
true
data
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#1855
  -form: Symfony\Component\Form\Form {#1458 …}
  -errors: [
    Symfony\Component\Form\FormError {#1501
      #messageTemplate: "Le jeton CSRF est invalide. Veuillez renvoyer le formulaire."
      #messageParameters: []
      #messagePluralization: null
      -message: "Le jeton CSRF est invalide. Veuillez renvoyer le formulaire."
      -cause: Symfony\Component\Security\Csrf\CsrfToken {#1519
        -id: "donation"
        -value: ""
      }
      -origin: Symfony\Component\Form\Form {#1458 …}
    }
  ]
}
form
Symfony\Component\Form\FormView {#1794 …5}
full_name
"donation"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"donation"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"donation"
priority
0
required
true
row_attr
[]
submitted
true
translation_domain
null
unique_block_prefix
"_donation"
valid
false
value
App\Entity\DonationHistory {#1264
  -id: null
  -user: null
  -reference: "20241123090735-67418d4724e06"
  -amount: null
  -paidAt: null
  -accessToken: "1F1A2HqU9SgqgXb6fEZwGB64v1Mp8HrgRTrqAloH_zw"
  -firstname: null
  -lastname: null
  -email: ? string
  -address_line_1: null
  -post_code: null
  -city: null
  -is_anonymous: false
  -has_proof: true
  #createdAt: null
  #updatedAt: null
}