code and success, including on HTTP 200. Responses use trace_id and a numeric millisecond timestamp. Authentication, route and permission failures retain platform codes and differ from internal dependency authentication errors.
Do not interpret technical failure as an absent record, empty list or zero funds. After an uncertain write, query the original business reference before resubmitting.
Business Error Codes
The following codes distinguish invalid files, unavailable services and failed uploads.
Batch-payment-specific authorization/configuration checks retain their existing codes. Their type/size errors may retain batch-specific explanatory messages with the corresponding file error code.
Common Errors And Normalization
- Public login/RBAC failures retain the existing
auth_login_required/auth_permission_deniedcodes. They are distinct from internal dependency authentication failures. - Routing/method failures retain existing platform codes, including
common_resource_not_foundandcommon_method_not_allowed. - Legacy storage
file_operation_failedis normalized tofile_upload_failedin this upload chain. Known file codes are preserved. - Dependency exceptions are logged internally. Internal diagnostic details and raw provider messages are not exposed as upload error messages.
- Validation errors require correcting the request. For upload/transport failures, check the original result and trace before resubmitting; a transport error alone does not prove that storage performed no operation.
