Overview
You may notice that users cannot send faxes from a 3rd-party application (e.g. Nextgen) that integrates with FaxMaker via API (XMLAPI, TextAPI, WSAPI).
The FaxServer.API.XML.log
file shows the message:
"error ","SUB","XMLAPI::ProcessFieldBody: Value '' for command 'bodyfile' is not valid."
The 3rd-party app may not be getting any response from FaxMaker regarding the faxes processing.
Sending faxes from emails works as expected.
Solution
Verify that the API directories in the XML/TextAPI configurations are valid and currently in use. You can remove and add them back as detailed below:
- Open the FaxMaker Configuration tool:
- Navigate to Advanced - Text-API/XMLAPI - Properties.
- Click the XMLAPI tab.
- Remove all folder paths, disable XMLAPI, and save the changes.
- Ensure that the user account running the GFI FaxMaker Fax Server Service and the GFI FaxMaker Message Transfer Agent (MTA) Service can access the required folders.
- Open the FaxMaker Configuration again:
- Navigate to Advanced - Text-API/XMLAPI - Properties.
- Enable XMLAPI.
- Enter the UNC path of the required folders.
- Disable the "Include Subfolders" option if not required.
- Do the same for TXTAPI if applicable.
- Save the changes.
- Restart the GFI FaxMaker FaxServer Service and the GFI FaxMaker Message Transfer Agent (MTA) Service.
Finally, ensure that the XMLAPI folder and the FaxMaker folders are not scanned by an antivirus or backup program as they can interfere with FaxMaker: Folders to Exclude When Running an Antivirus Scanner on the Same Machine as GFI FaxMaker.