-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: Framework/WebapiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just Catalog
Description
Steps to reproduce
- Install Magento from
developbranch. - Call /V1/customers/me rest api with (valid auth token) and body:
{
"email": "[email protected]",
"firstname": "dsfsdf",
"lastname": "sdsdf",
"addresses": [
{
"firstname": "string",
"lastname": "string"
}
]
}
Expected result
- The customer gets created and 200 is returned
Actual result
- 400 bad request
{
"message": "One or more input exceptions have occurred.",
"errors": [
{
"message": "%fieldName is a required field.",
"parameters": {
"fieldName": "firstname"
}
},
{
"message": "%fieldName is a required field.",
"parameters": {
"fieldName": "lastname"
}
},
{
"message": "Invalid value of "%value" provided for the %fieldName field.",
"parameters": {
"fieldName": "email",
"value": null
}
}
]
}
Metadata
Metadata
Assignees
Labels
Component: Framework/WebapiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just Catalog