laptop and a wrench

不具合

The error message, "Promise rejected: a.toJSON is not a function" is returned when autocasting a new query using QueryTask.

最後に公開された状態: July 16, 2019 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000123651
送信されましたJuly 11, 2019
最終更新日December 1, 2020
適用対象ArcGIS API for JavaScript
見つかったバージョン4.12
サーバー プラットフォームWindows
Version Fixed4.13
ステータスFixed

対処法

Create a new instance of a QueryTask to execute the query successfully. Refer to the script in the following link:https://jsbin.com/kiwomecage/1/edit?js,output

再現の手順

不具合 ID: BUG-000123651

ソフトウェア:

  • ArcGIS API for JavaScript

ArcGIS の専門家からヘルプを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動

このトピックについてさらに調べる