how do i save and sent test reqeust

Status: Open ยท Asked by briprinted on ยท 0 views

briprinted โ€” Question ยท
i get a result invalt json data request body, error reson bad request, error 400
Pabbly Support โ€” Reply ยท

Hello,

The 400 Bad Request / Invalid JSON data in the request body error occurs because the first field (Product Name) and third field (Variant) in your Printful: Create Order action step currently contain raw/manual text mappings that do not match the expected API structure.

To fix this:

  1. Reconnect Your Printful Account: Click on the Connected button in the Printful step and reconnect your account to ensure fresh dropdown lists load.

  2. Select Product Name from Dropdown: Turn OFF the mapping toggle (if enabled) for the Product Name field and select your product directly from the dropdown menu.

  3. Select Variant from Dropdown: Select your product variant directly from the Variant dropdown menu instead of typing manual text.

Once you have selected both options directly from the dropdown lists, click Save & Send Test Request to test the step again.

Please let us know if you need any further assistance!

Thanks & Regards,
Hrishabh
Customer Support Associate
๐ŸŒ Pabbly.com
๐Ÿ‘‰ Rate your support

Back to all forum threads ยท Log in to reply