We have 2016 Nav with approximately 100 companies. Our developer has automated a posting process and it works just fine on every company except 1. When we visit the URL in the web browser it loads up just fine like the other companies. We cannot see anything obvious, what are some Nav related items to check here? The query is fine so it's not the programming and the Nav setup SEEMS fine as well. 

You can see the queries below with our info redacted. First query returns 0 and the second returns 1 and works just fine. Thank you. 

use Nav_App
--testing
select dbo.ValidateBatchName(
'mynavserver/.../DWNAVService',
'user',
'pass',
'BatchName');

use Nav_App 
--testing
select dbo.ValidateBatchName(
'mynavserver/.../DWNAVService', 
'user', 
'pass', 
'BatchName');