You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazing work on this railway setup and template i must say.
Wondering if you are able to help me with understanding the following error that occurs while adding information to the Billing address fields on the user pofiles.
Invalid request: Expected type: 'string' for field 'first_name', got: 'null'; Expected type: 'string' for field 'last_name', got: 'null'; Expected type: 'string' for field 'phone', got: 'null'
34.82.65.249 - - [25/Jan/2025:02:43:02 +0000] "POST /store/customers/me/addresses/undefined HTTP/1.1" 400 228 "-" "node"
Thanks for the detailed description of the issue ! 🙂
I must be honest and say that this was a until now unexplored area of the app - I never tried adding billing address to the customer profile.
However, I was perfectly able to reproduce the issue you describe, and I think .... but not 100% sure, that my storefront is out of date with the billing address datamodel (I don't know if pulling a fresh storefront, will come with an updated billing form, that matches the schema, but this is something I will try in thea near future when I have time)
If the latest official storefront also has this bug, then the issue should be created in the official medusa repo: https://github.com/medusajs/nextjs-starter-medusa/issues - but let's not get ahead of ourselves here, I will (hopefully soon) do the experiment described above, and hopefully that will lead to a solution - in that case I will just update the boilerplate repo with a fix, and you can merge my commit into your repo. ✌️
Hello @rpuls
Amazing work on this railway setup and template i must say.
Wondering if you are able to help me with understanding the following error that occurs while adding information to the Billing address fields on the user pofiles.
Everything else on the template works flawlessly so far.
Thanks in advance
The text was updated successfully, but these errors were encountered: