---
page_source: https://docs.juspay.io/split-settlements-brazil/docs/split-settlements/troubleshooting--faqs
page_title: Troubleshooting & FAQs
---


# Things to keep in mind!



> **Error**
> 
> #### **An error of BAD_REQUEST was received while initiating Split Settlement Transactions.** 
> 
> 
> 
> If the metadata.split_settlement_details block is sent in the wrong format, Juspay will throw a BAD_REQUEST or "Juspay split settlement details cannot be decoded" error message. Please ensure that the metadata.split_settlement_details block format being sent from your end matches the format mentioned in step 3.1.




### FAQs



## FAQs:

### What are the consequences if incorrect details are sent in the split settlement block? For example, passing the wrong value in the sub_mid parameter.

The transaction call would fail at the Juspay end with the error message "Can't find a suitable gateway to process the transaction," and the transaction would remain stuck in the STARTED state.

### What exactly should be configured in the gatewaySubAccountId field on the Juspay dashboard ?

Merchants have to create the sub accounts at gateway end and the same account id should be configured in the **gatewaySubAccountId**  field on the Juspay dashboard.

### What exactly should be configured in the juspaySubAccountId field on the Juspay dashboard ?

Vendor name(any string value) can be configured in the **juspaySubAccountId**  field on the Juspay dashboard.

### What exactly should be passed in the sub_mid field of the split_settlement_details block ?

The **string value**  configured in the **juspaySubAccountId**  field on the Juspay dashboard should be passed in the **sub_mid**  field of the split_settlement_details block.

### How do refunds work if the split settlement to one sub-account is successful while the other sub-account fails? 

Split settlement cannot succeed partially; it will either be a success or a failure. Therefore, refunds can only be initiated for successful split settlements that occurred across all sub-accounts.

### How can we send the Split Settlement details for Mandate Execution payments ?

Split Settlement details can be sent in the `order.metadata.split_settlement_details` parameter in the Transaction API(/txns) call.

