プロジェクトに合わせて d3-data-viz サンプル コードを調整し、以下の行の値をプロジェクトの識別子に変更すると、コードは 400 (Bad Request) を返します。
{
"error":
{
"errorClass":"com.gooddata.webapp.service.simpleexecutor.UnsupportedTypeException",
"trace":"",
"message":"Type attribute not supported in simple execution.",
"component":"Webapp",
"errorId":"51ab443c-b4a3-47be-a434-2cecfc4f244f",
"errorCode":"gdc.webapp.execution.unsupported_type",
"parameters":["attribute"]
}
}
サンプル viz.js のコード:
var metric = 'afSEwRwdbMeQ',
attr1 = 'oppclose.aam81lMifn6q',
attr2 = 'label.opp_owner.id.name';
var elements = [attr1, attr2, metric];