Hi,
I've added few custom customer attributes, and they're working fine with the registration page.
But when Im doing it via REST API call. it returns an error:
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5da995c55b17b"
log is as follows:
main.CRITICAL: Report ID: webapi-5da995c55b17b; Message: Property "Residency" does not have accessor method "getResidency" in class "Magento\Customer\Api\Data\CustomerInterface". {"exception":"[object] (Exception(code: 0): Report ID: webapi-5da995c55b17b; Message: Property \"Residency\" does not have accessor method \"getResidency\" in class \"Magento\\Customer\\Api\\Data\\CustomerInterface\". at C:\\xampp\\htdocs\\buyani\\vendor\\magento\\framework\\Webapi\\ErrorProcessor.php:208, LogicException(code: 0): Property \"Residency\" does not have accessor method \"getResidency\" in class \"Magento\\Customer\\Api\\Data\\CustomerInterface\". at C:\\xampp\\htdocs\\buyani\\vendor\\magento\\framework\\Reflection\\NameFinder.php:100)"} []
Thanks!