Expected Status code in (200-299), got 404/There was an error in uploading the document - c06406192
Event Summary
Modify CPS Config files on each CPS server to have correct docApiUrl
Event Definition
On PrinterOn mobile app you will see the list of available printers, after setting up the app with Service URL and AD credentials. However, you can’t upload any type of document to get a printout. This can happen if you have the correct DNS/IP specified on the license for service URL and the check box is checked for Override Document API URI under Workflows à Mobile.
Symptoms and Errors
- Almost instantly you will see the job failed.
- In iOS you will get error “ Exoected Status code in (200-299), got 404” and in Android you will get error “There was an error in uploading the document”
Tools and Access Needed
- Administrator Permissions
- Administrator Permissions to PONCONF
- PONCONF access
Steps and Process
- Log into CPS server
- Stop the CPS service
- Open the C:\Program Files (x 86)\ PrinterOn Corporation\Apache Tomcat\Conf fil\cps_config.xml as administrator
- Modify docApiUrl to include the correct service URL, e.g. < docApiUrl >http://172.16.100.171/cps/DocApi</docApiUrl>
- Save the configuration file
- Start the CPS Server service
- Repeat for each additional CPS server