Common issues
This topic provides answers to some frequently asked questions about OpenAPI.
Error: The request for this resource has exceeded your daily available limit
Cause: Each DataWorks API operation has a maximum number of calls allowed per day. The limit varies by DataWorks edition.
Solution: To find the daily limit for a specific operation and see which operations are available in your edition, see Overview of DataWorks API operations.
Error: Your request is too frequent. Try again later
Cause: Two limits apply to each API operation: queries per second (QPS) and daily call count. This error appears when either limit is exceeded.
Solution: Reduce the frequency of your API calls. For specific limits, see Overview.
Error: Onefilecouldnothavemorethan10dependentclouduuids
Cause: This error occurs when you call CreateFile or UpdateFile with DependentType set to USER_DEFINE and more than 10 node IDs in DependentNodeIdList. Each node can have at most 10 cross-cycle dependencies.
Solution: Use one of the following approaches:
-
Reduce the number of IDs in
DependentNodeIdListto 10 or fewer. -
Configure the dependencies manually on the DataStudio page and publish the task from there.
What is the difference between CreateNode and CreateDIJob?
CreateNode creates nodes of various types in DataStudio, such as ODPS SQL nodes, PyODPS nodes, and Shell nodes. A data synchronization task is just one type of node. CreateDIJob is specifically designed to create Data Integration synchronization tasks for data synchronization and migration scenarios.
The following table describes the key differences between the two operations:
|
Item |
CreateNode |
CreateDIJob |
|
Purpose |
Creates nodes of various types in DataStudio |
Creates Data Integration synchronization tasks |
|
Applicable scenarios |
ODPS SQL, PyODPS, Shell, data synchronization, and other node types |
Data synchronization and data migration |
|
Scope |
General-purpose operation that supports multiple node types |
Dedicated to Data Integration synchronization tasks only |
Use CreateDIJob for data synchronization or migration scenarios. Use CreateNode to create other node types such as SQL nodes and Shell nodes.