#Network error on line item fulfillment

21 messages · Page 1 of 1 (latest)

stray sail
#

when trying to fulfill a line item it will crash the server and outputs this error

bold agate
lofty junco
#

It looks like you are using legacy base service. what version of the packages are you using?

stray sail
#

How do I find that out

austere ivy
#

npm list | grep medusa inside your backend folder

stray sail
#

thank you

bold agate
#

Aren't we at the Medusa v1.7.0 when typing this post ?

lofty junco
#

yes we are 👍

#

I suggest that you upgrade your dependencies

stray sail
#

I am using the old version but since im using the marketplace tutorial i was concerned about updating

lofty junco
#

A community memnber will soon share an updated version of it

stray sail
#

Is there an estimated timeframe? My project is supposed to launch in about a month and were concerned about the marketplace's viability

lofty junco
#

If you want you can fix your error withthe actual version. Itjust seems that you are passing an undefined id

stray sail
#

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

lofty junco
#

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

stray sail
#

so the user authentication is the undefined id?

lofty junco
#

Looks like it yep, at least you middleware does provide an undefined value

stray sail
#

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

lofty junco
#

Can you share your middleware please