Tiny ERP Auth2 icon

Tiny ERP Auth2

Interact with Tiny ERP API v3 with OAuth2

Categorias → Get Many

AI-generated

Overview

This node integrates with the Tiny ERP API v3 using OAuth2 authentication. Specifically, for the "Categorias" resource with the "Get Many" operation, it retrieves multiple category records from the ERP system. This is useful when you want to fetch a list of categories for reporting, synchronization, or further processing within your workflows.

Practical examples include:

  • Fetching all product categories to update an external inventory system.
  • Retrieving expense categories to generate financial reports.
  • Paginating through categories to process them in batches.

Properties

Name Meaning
Options Collection of optional parameters:
• Limit: Max number of results to return.
• Page: Page number to retrieve (for pagination).

Output

The node outputs an array of JSON objects, each representing a category record retrieved from Tiny ERP. Each item contains the category data fields as returned by the API.

If multiple categories are returned, they appear as separate JSON items in the output array.

No binary data output is produced by this operation.

Dependencies

  • Requires an OAuth2 API credential configured in n8n to authenticate with the Tiny ERP API.
  • The node depends on the Tiny ERP API v3 being accessible and the OAuth2 token being valid.
  • Pagination support requires correct handling of limit and page parameters.

Troubleshooting

  • Common issues:

    • Invalid or expired OAuth2 credentials will cause authentication failures.
    • Requesting pages beyond available data may return empty results.
    • Network connectivity problems can prevent API access.
  • Error messages:

    • "Unknown resource: Categorias": Indicates the resource name was not recognized; ensure the resource parameter is correctly set.
    • API errors related to authentication or rate limits will be surfaced as error messages in the node output if "Continue On Fail" is enabled.
  • Resolutions:

    • Verify and refresh OAuth2 credentials if authentication fails.
    • Adjust limit and page values to valid ranges.
    • Check network connectivity and API endpoint availability.

Links and References

Discussion