#Network error on line item fulfillment
21 messages · Page 1 of 1 (latest)
The error comes from this function https://github.com/medusajs/medusa/blob/35df4962f8483197f7f579dcb60f5e4c435f23b9/packages/medusa/src/utils/validate-id.ts
also from here
https://github.com/medusajs/medusa/blob/ae5801c5187a39f79191329fa577dfc9d116afff/packages/medusa-interfaces/src/base-service.js#L112
it looks like it come more from base-service module but I don't see which code is firing it
It looks like you are using legacy base service. what version of the packages are you using?
How do I find that out
npm list | grep medusa inside your backend folder
Aren't we at the Medusa v1.7.0 when typing this post ?
I am using the old version but since im using the marketplace tutorial i was concerned about updating
A community memnber will soon share an updated version of it
Is there an estimated timeframe? My project is supposed to launch in about a month and were concerned about the marketplace's viability
If you want you can fix your error withthe actual version. Itjust seems that you are passing an undefined id
Im not sure how it would be passing an undefined id, all of the info for the line item fulfillment is there and Ive double checked that there is a valid cookie session id
I also dont quite understand what id the error is referring to
From your error message it looks like it is comming from the logged in user middleware which might call the retrieve method from the user service
so the user authentication is the undefined id?
Looks like it yep, at least you middleware does provide an undefined value
i did more testing and switched the post request from the js client function to an axios request that included credentials and it worked but when I went to test it again the error occurred again
Can you share your middleware please