n8n-nodes-tiktok-bigboss 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,6 +30,9 @@ async function tiktokApiRequest(method, resource, body = {}, qs = {}, fullOutput
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
catch (error) {
|
|
33
|
+
if (error.message && error.message.includes('unaudited_client_can_only_post_to_private_accounts')) {
|
|
34
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), { message: '⛔ DEVELOPMENT MODE ERROR: Unaudited TikTok apps can ONLY post to "Only Me" (Private). Please change the "Privacy Level" option in this node to "Only Me" to fix this.' });
|
|
35
|
+
}
|
|
33
36
|
const errObject = error instanceof Error ? { message: error.message } : { message: String(error) };
|
|
34
37
|
throw new n8n_workflow_1.NodeApiError(this.getNode(), errObject);
|
|
35
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-tiktok-bigboss",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "TikTok BigBoss node for n8n - Upload, Analytics, and Search",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"n8n-core": "^1.75.0"
|
|
49
49
|
}
|
|
50
|
-
}
|
|
50
|
+
}
|