
Tiny ERP
Interact with Tiny ERP API to manage products, orders, and users. Use this tool when you need to retrieve or manage ERP data.
Actions9
- Products Actions
- Orders Actions
- Users Actions
Overview
This node interacts with the Tiny ERP system, specifically focusing on managing product-related data and metadata. The "Rate Limit Info" operation under the "Products" resource provides insights into API usage limits and cache management. It is useful for monitoring your API quota consumption to avoid hitting rate limits, as well as managing cached data to optimize performance.
Practical examples include:
- Checking how many API calls remain before reaching the limit.
- Retrieving statistics about cached data entries to understand cache utilization.
- Clearing the cache to ensure fresh data retrieval or resolve stale data issues.
Properties
| Name | Meaning |
|---|---|
| Action | Choose the rate limit or cache action to perform: |
| - Get Rate Limit Info: Get current rate limit status and remaining quota | |
| - Get Cache Stats: Get cache statistics and entries | |
| - Clear Cache: Clear all cached data |
Output
The node outputs JSON data containing the results of the selected action:
- For Get Rate Limit Info, the output includes details about the current API rate limit status and how many requests remain.
- For Get Cache Stats, the output contains statistics about cached entries, such as counts or sizes.
- For Clear Cache, the output confirms that the cache has been cleared successfully.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential to authenticate with the Tiny ERP API.
- The node depends on the Tiny ERP API being accessible and properly configured.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common Issues:
- Hitting API rate limits unexpectedly: Use the "Get Rate Limit Info" action to monitor usage.
- Stale or outdated data due to caching: Use "Clear Cache" to reset cached data.
- Cache statistics not updating: Ensure the cache is enabled and functioning on the API side.
Error Messages:
"The operation "rateLimitInfo" is not supported for resource "products": This indicates a misconfiguration; verify that the resource and operation names are correct.- API authentication errors: Check that the API key credential is valid and has necessary permissions.
- Network or connectivity errors: Confirm network access to the Tiny ERP API endpoint.
Links and References
- Tiny ERP API Documentation (hypothetical link)
- n8n documentation on Creating Custom Nodes