{
"errorType": "Input_Exception",
"errorCode": "DH-905",
"errorMessage": "Missing required fields, bad values for parameters etc."
}
The error message is quite generic and does not indicate which specific field is missing or invalid, which makes debugging difficult.
Could someone please confirm whether the Margin Request API is functioning correctly, or if there have been any recent changes to the required parameters?
I’m currently integrating with the Margin Calculator API (/v2/margincalculator) and facing an issue with error handling.
The API returns a generic error: DH-905: Missing required fields, bad values for parameters etc.
While I understand this indicates a validation failure, the response does not provide any field-level details about what exactly is missing or invalid. This makes debugging quite difficult from a developer’s perspective.
Could you please help clarify:
Is there a way to get more granular validation errors (e.g., which specific field is incorrect or missing)?
Does the API strictly enforce the documented request schema, or are there any undocumented constraints we should be aware of?
Are there any sample requests/responses that are guaranteed to work for reference?
Providing more detailed error messages would greatly improve the developer experience and speed up integrations.