Message
Error response from server (File validation failed: File type is unknown.)
Cause
The above error message can be caused by sending an unknown or unsupported file type to the server. This typically occurs when the file extension is not recognized or when the file format does not match the expected types allowed by the service.
Resolution
Ensure that the file type being sent is supported by checking the file extension and format against the service's documentation. If needed, convert the file to a supported format (base64 or byte) before sending. Additionally, verify that the file's content matches its declared extension to avoid format mismatch errors.
Error Detail
json
{
_asyncIndex : 2,
record : {},
recordNumber : 2,
rowNumber : 2,
type : "record",
error :{
message : "Error response from server",
statusCode : 400,
error : '{"Message":"File validation failed: File type is unknown."}',
}
errorMessage : "Error response from server"
statusCode : 500,
messageld : "67c5ccfd9cddf738b2cca31e"
threadld : 1
}