Actions115
- Account Actions
- Announcements Actions
- Apps Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Canonical Email Blocks Actions
- Cohorts Actions
- Conversations Actions
- Custom Emojis Actions
- Directory Actions
- Domains (Allowed) Actions
- Domains (Blocked) Actions
- Domains (Email Blocked) Actions
- Emails Actions
- Endorsements Actions
- Favourites Actions
- Featured Tags Actions
- Filters Actions
- Follow Requests Actions
- Followed Tags Actions
- Instance Actions
- IPs Actions
- Lists Actions
- Markers Actions
- Measures Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- oEmbed Actions
- Polls Actions
- Preferences Actions
- Profile Actions
- Proofs Actions
- Push Actions
- Reports Actions
- Retention Actions
- Scheduled Statuses Actions
- Search Actions
- Status Actions
- Streaming Actions
- Suggestions Actions
- Tags Actions
- Timeline Actions
Account → Verify Credentials
AI-generatedOverview
This node operation verifies the credentials for a Mastodon account by connecting to the specified Mastodon instance URL. It supports two authentication types: OAuth2 and Access Token. The node checks the provided credentials and confirms their validity by making an API call to the Mastodon instance. This is useful for ensuring that the credentials are correct before performing further actions with the Mastodon API.
Use Case Examples
- Verifying OAuth2 credentials for a Mastodon account before posting a status update.
- Checking the validity of an access token for a Mastodon instance to ensure API requests will succeed.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to for verifying credentials. |
| Authentication Type | The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token. |
Output
JSON
json- The result of the credential verification, typically an object indicating success or details about the authenticated account.
Dependencies
- Requires Mastodon API credentials, either OAuth2 or Access Token, to authenticate requests.
Troubleshooting
- If the node throws an error about missing credentials, ensure that the correct credential type is selected and configured in n8n.
- Authentication operations require OAuth2 credentials; using Access Token for authentication operations will cause an error.
- If the Mastodon URL is incorrect or unreachable, the node will fail to verify credentials.
- Errors from the Mastodon API during verification will be thrown unless 'Continue On Fail' is enabled, in which case the error is returned in the output.