mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows consenting an extension instance to specific scopes within a marketplace environment. It is useful when you need to grant or update permissions (scopes) for a particular extension instance, enabling it to access certain features or data as defined by those scopes.

Practical examples include:

  • Granting an installed extension the necessary permissions to interact with user data.
  • Updating consented scopes after an extension upgrade or policy change.
  • Automating permission management for extensions in a marketplace setting.

Properties

Name Meaning
Extension Instance Id The unique identifier of the extension instance for which the consent to scopes is given.
Consented Scopes A JSON array defining the scopes that the extension instance is being consented to. These represent the permissions granted to the extension.

Output

The node outputs JSON data representing the result of the consent operation. This typically includes confirmation of the updated consent status or details about the scopes now granted to the extension instance.

No binary data output is indicated.

Dependencies

  • Requires an API key credential to authenticate requests against the mittwald mStudio API.
  • The node communicates with the mittwald API endpoint at https://api.mittwald.de.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid Extension Instance Id: If the provided extension instance ID does not exist or is malformed, the API may return an error. Verify the ID before running the node.
  • Malformed Consented Scopes JSON: The consented scopes must be valid JSON. Errors parsing this input will cause the request to fail. Ensure the JSON is correctly formatted.
  • Authentication Errors: Missing or invalid API credentials will prevent successful communication with the API. Confirm that the API key credential is set up and valid.
  • API Rate Limits or Downtime: Temporary failures might occur due to API rate limits or service outages. Retrying after some time or checking API status can help.

Links and References

Discussion