Do you have an example and some more details about your problem?
You get this message if the URL is not connecting to the login service correctly. This can be because you have provided an incorrect 4-tier server URL, or because the URL you supplied is not accessible from where your Mendix app is running. Make sure you provide a 4-tier server URL for Teamcenter (this usually ends in “/tc”) and not the Active Workspace client URL