KNOWLEDGE BASE

Error: "Uncaught Cannot cast object to requested type" loading embedded view with Tableau Javascript API


Published: 27 Apr 2017
Last Modified Date: 16 May 2017

Issue

When attempting to load an embedded dashboard hosted on Tableau Online, an unexpected error may occur:
Uncaught Cannot cast object to requested type
or
Uncaught Cannot cast object to type Object

Environment

  • Tableau Online
  • Javascript API

Cause

This behavior is related to a known issue that is currently under investigation.
Did this article resolve the issue?