Error codes for token, subcompanies and company endpoints