CS-4995: Profile template is not working for API URL
fixed