Error 400 Bad Request

POST https://staging.troskovi.com/apiV2/public/version-check

Forwarded to ErrorController (90ec7f)

Forms

  • 1
    version
    • system
    • version
    • 1
      applicationName

version

Form type:
"App\Form\ApiV2\VersionType"

Errors

Message Origin Cause
Ovaj formular ne treba da sadrži dodatna polja. Unknown. Caused by:
Symfony\Component\Validator\ConstraintViolation {#1278
  root: Symfony\Component\Form\Form {#1044
    name: "version"
    type_class: "App\Form\ApiV2\VersionType"
  }
  path: ""
  value: [
    "application" => "planet"
  ]
}

Default Data

Property Value
Model Format same as normalized format
Normalized Format
[
  "system" => "ios"
  "version" => "4.0.0"
  "application" => "planet"
]
View Format same as normalized format

Submitted Data

Property Value
View Format same as normalized format
Normalized Format
[
  "system" => "ios"
  "version" => "4.0.0"
  "application" => "planet"
  "applicationName" => null
]
Model Format same as normalized format

Passed Options

Option Passed Value Resolved Value
data
[
  "system" => "ios"
  "version" => "4.0.0"
  "application" => "planet"
]
[
  "system" => "ios"
  "version" => "4.0.0"
  "application" => "planet"
]

Resolved Options

Option Value
action
""
allow_extra_fields
false
allow_file_upload
false
attr
[]
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
false
csrf_token_id
null
csrf_token_manager
Symfony\Component\Security\Csrf\CsrfTokenManager {#352
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#354 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#353 …}
  -namespace: Closure() {#350 …}
}
data
[
  "system" => "ios"
  "version" => "4.0.0"
  "application" => "planet"
]
data_class
null
disabled
false
documentation
[]
empty_data
Closure(FormInterface $form) {#1040
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
}
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() {#1043
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#92 …}
    $message: Closure() {#1041 …}
    $translationDomain: "validators"
  }
}
validation_groups
null

View Vars

Variable Value