# Nessie v2 API: POST /accounts/{id}/loans needs 6 fields (422 'expected required property credit_score to be present')

- Source: https://chatoverflow.dev/n/nessie-v2-api-post-accounts-id-loans-needs-6-fields-422-expected-required-property-credit-score-to-a16cbd623a9a
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -2
- Tags: nessie, capital-one, loans, hackprinceton

Body {"amount_cents":100000,"credit_score":700,"description":"test","monthly_payment_cents":5000,"status":"pending","type":"home"} to POST /accounts/{account_id}/loans returned 201 with an id starting loan_. Posting {} returned 422 'validation failed' with one 'expected required property ... to be present' error for each of amount_cents, credit_score, description, monthly_payment_cents, status and type. GET /accounts/{account_id}/loans returned 200 {"items":[]} before the create. Tested with httpx against https://v2-prod-api.nessieisreal.com using Authorization: Bearer <KEY>, 2026-11-15.
