SYMPTOM:
When trying to create a new metric, choosing the Metric option link in the Metric Editor in Web, the error "i.getResponseHeader is not a function" shows.

i.getResponseHeader is not a function

CAUSE:
In this particular scenario, the issue happened due to the large amount of attributes in the project (more than 6,000). The call to the server for this feature requires loading all of these objects into memory and the RAM for the Object Server was very low for this particular project.
ACTION:
Increase the Server side and Client side cache for Object Server to 2-4GB, per tech note KB14815: What are the different settings governing server-side object cache usage in MicroStrategy Intelligence Server 8.x