#Help needed with SendCloud + MedusaJS plugin

1 messages · Page 1 of 1 (latest)

fickle bone
#

Hi everyone, I'm having trouble creating fulfillments using the SendCloud plugin in MedusaJS. Every attempt fails with a 400 error. Has anyone experienced this or can provide guidance?

Here's the error I'm getting from the logs:

gl-medusa | error: Failed to create SendCloud fulfillment: SendCloud API error: 400 - {"error":{"code":400,"request":"api/v2/parcels","message":"weight: \"Ensure this value is greater than or equal to 0.00099.\", shipping_method: \"This field may not be null.\""}}

All products/variants have weight > 0.001 kg
Shipping method configured in SendCloud
API keys are correct
Using plugin from GitHub: https://github.com/altugsogutoglu/medusa-sendcloud-plugin

Does anyone know if there’s an extra configuration needed in SendCloud for the plugin to work?
Or maybe a patch needed in the plugin to handle weight / shipping_method correctly?

Any guidance would be greatly appreciated!

GitHub

Contribute to altugsogutoglu/medusa-sendcloud-plugin development by creating an account on GitHub.

shadow sundial
#

Haven't used SendCloud but have you tried dumping the payload you're sending before it hits SendCLoud?

patent rose
#

Did you set the weight for the product? Looks to me this is an bug in the plugin.

#

I would’ve just use it as module and fix it in the code, or push an PR

#

Ah i see you did set weight. Then i think it might be an bug