Tmdb Node icon

Tmdb Node

Tmdb Node

Get Person

AI-generated

Overview

The "Tmdb Node" is designed to interact with The Movie Database (TMDb) API, providing access to various types of media-related data such as movies, TV shows, collections, companies, and persons. Specifically, the "Get Person" operation retrieves detailed information about a person (e.g., actor, director) from TMDb by their unique person ID.

This node is beneficial in scenarios where users want to enrich workflows with metadata about people involved in movies or TV shows, such as fetching biographies, filmographies, or other personal details. For example, it can be used in content management systems to automatically pull actor profiles or in analytics workflows to gather data about movie cast members.

Properties

Name Meaning
Language The language code (e.g., "en") to localize the returned data.
Person ID The unique numeric identifier of the person in TMDb whose information is to be retrieved.
Append to Response Optional additional data to append to the response, allowing retrieval of extra related info.

Output

The output JSON contains detailed information about the specified person from TMDb. This typically includes fields such as:

  • Personal details (name, birthday, biography, place of birth)
  • Known for department (e.g., acting, directing)
  • Profile images
  • External IDs and social media links
  • Combined credits (movies and TV shows associated with the person)

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to TMDb API via an API key credential configured in n8n.
  • The node depends on internal helper functions that handle API requests to TMDb endpoints.
  • Network connectivity to TMDb's servers is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing Person ID will result in errors or empty responses.
    • Incorrect or expired API credentials will cause authentication failures.
    • Network issues may lead to timeouts or unreachable service errors.
  • Error Messages:

    • Errors thrown by the node include context about the item index for easier debugging.
    • If "Continue On Fail" is disabled, the node execution stops on the first error.
    • To resolve errors, verify the correctness of the Person ID, ensure valid API credentials, and check network connectivity.

Links and References

Discussion