These instructions describe the steps to configure a SFTP connection to the Calm SFTP server with the purpose of automating eligibility file uploads.
Steps
Common automated file syncing tool instructions
Troubleshooting
The eligibility file must contain at a minimum:
Optional configuration:
Use columns B, C and D to add the employee in column A to a segment to add up to three additional segmented reporting such as department, location, gender
Calm can send file transfer status emails to your preferred contacts. Enter the email addresses for these contacts separated by a comma (example: jane.doe@company.com, john.doe@company.com).
Enter the email address for your technical contact by clicking “Add new admin” button. A modal will display and First Name, Last Name, Email are required. The technical contact will receive instructions to access the Partner Portal and finish the SFTP configuration setup.
Please ensure all public SSH keys submitted in Partner Portal are in OpenSSH format. Below are instructions on how to generate an SSH key.
Mac/Linux systems
Windows systems
For more detailed instructions, visit Github's guide on generating a new SSH key
Locate your SFTP URL and username. Select the private key file for authentication that corresponds to the public SSH key entered in Calm Partner Portal.
Your SFTP URL is listed on the SFTP integration page at partner.calm.com
On the command line from the machine with the private key counterpart to the public SSH key you provided Calm, you can use:
There are a variety of Human Resource Information Systems (HRIS), software tools, and scripts that can be used to connect to the Calm SFTP server and upload eligibility files.
Consult the documentation of the respective tools for detailed instructions and troubleshooting assistance. Here are instructions for a few common tools:
Command Line:
Note that you must upload your file to the /inbound/eligibility/ folder.
Attempts to upload the file to other directories, upload folders to that directory, or upload files that are not of type CSV will cause errors.
Avoid:
Do:
Calm sends alert emails to the technical contact configured in the Calm Partner Portal whenever a file upload fails.
Common user errors
ef_upload_failure: There is a problem with the format of the file you are trying to upload. We only accept CSV (comma-separated values) files. Please double check that you are uploading a valid CSV file. Some common problems include:
Internal errors
The following errors suggest a internal error on Calm’s end. Please contact your Customer Success Manager and they will escalate this to our engineering team:
SFTP connection errors indicate problems establishing the SFTP connection. These errors are surfaced in the tool you are using to make the connection and do not result in emails to your technical contact.
Connection Error: Unable to negotiate error
Specify the host key algorithm as ssh-rsa. Implementation will vary. On the command line it is -oHostKeyAlgorithms=+ssh-rsa
Connection Error: Any request for a password.
Double-check your SFTP username to make sure it is correct. Make sure that you have uploaded the correct SFTP public key to the Calm Partner Portal and that you are attempting the connection from the machine that has the private key counterpart to the public key you shared.
Firewall error
The Calm SFTP server needs to be able to get past your firewall to successfully make a connection. If you're not able to connect to the server, your firewall is likely blocking the connection and you may see the following error message: Something went wrong. Please try again.
Please allowlist the domain for the Calm SFTP server: sftp.ws.calm.com. Then run the following command on the command line to see if your organization's firewall is still blocking connections:
If you're able to connect successfully, you're all set! Your firewall settings are optimal for a connection.
OpenSSH key error
Ensure you're using the correct OpenSSH key type, in the correct format. Keys must be RSA public keys in the OpenSSH format.
If you attempt to submit the wrong SSH key type, you may see the following error message when attempting to establish a connection:SSH key must adhere to OpenSSH format. Here is a valid OpenSSH key:
Make sure you provide the Calm server with the public SSH key that corresponds to your private key to connect to the Calm SFTP server.
Multiple SSH key error
A single public key must be entered that matches your organization's single private key. If multiple public keys are sent, or you have more than one private key for your public key, you may experience the following issues: