Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to post to multiple services #615

Open
VampyreSpook opened this issue Feb 16, 2025 · 0 comments
Open

Unable to post to multiple services #615

VampyreSpook opened this issue Feb 16, 2025 · 0 comments

Comments

@VampyreSpook
Copy link

I have setup all the services in postiz that I want to use, and they are connected, however, I am unable to post to Youtube, Facebook, Instagram, or threads. here are the errors I get in the logs.

Youtube = {
"type": "now",
"tags": [],
"shortLink": false,
"date": "2025-02-16T20:10:00",
"posts": [
{
"integration": {
"name": "Vampyre Spook",
"id": "cm6cd3wl20001ifkufpps6z92",
"internalId": "113665844068015127605",
"disabled": false,
"picture": "https://postiz.vampyrespook.com/uploads/2025/02/16/af560909c46f5802cabc8b361d3e1f65.png",
"identifier": "youtube",
"inBetweenSteps": false,
"refreshNeeded": false,
"isCustomFields": false,
"display": "",
"type": "social",
"time": [
{
"time": 920
},
{
"time": 1210
},
{
"time": 1500
}
],
"changeProfilePicture": false,
"changeNickName": false,
"customer": null,
"additionalSettings": "[]"
},
"value": [
{
"content": "test post for postiz",
"image": [
{
"id": "dd6fb7bb-ffd8-44e5-b1ff-7e46811c2ec8",
"name": "Epic Godzilla Gameplay! ð¥ Winning Royale Battles.mp4",
"path": "https://postiz.vampyrespook.com/uploads/2025/02/16/1e48db82f543d1d5ca7f9e5e2a5b122b.mp4",
"organizationId": "45307e13-3191-4070-a97b-185cdc98aa84",
"createdAt": "2025-02-16T19:24:15.171Z",
"updatedAt": "2025-02-16T19:24:15.171Z",
"deletedAt": null
}
]
}
],
"valid": true,
"settings": {
"title": "test post for postiz",
"type": "private"
},
"maximumCharacters": 5000
}
]
}
event to dispatch: {
pattern: 'post',
data: {
id: 'cm780mzjc0003yqpdxuj4xtho',
options: { delay: 0 },
payload: { id: 'cm780mzjc0003yqpdxuj4xtho', delay: 0 }
}
}
processing { id: 'cm780mzjc0003yqpdxuj4xtho', delay: 0 }
Email sender information not found in environment variables
[Error] posting on youtube TypeError: Cannot read properties of undefined (reading 'releaseURL')
at PostsService.postSocial (/app/dist/apps/workers/main.js:14241:302)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostsService.post (/app/dist/apps/workers/main.js:14143:19)
at async /app/node_modules/@nestjs/microservices/context/rpc-proxy.js:11:32
at async bullmq_1.Worker.connection [as processFn] (/app/dist/apps/workers/main.js:18245:60)
at async /app/node_modules/bullmq/dist/cjs/classes/worker.js:517:32
at async Worker.retryIfFailed (/app/node_modules/bullmq/dist/cjs/classes/worker.js:741:24)

================================================================================================

Facebook =
{
"type": "now",
"tags": [],
"shortLink": false,
"date": "2025-02-17T01:00:00",
"posts": [
{
"integration": {
"name": "VampyreSpook",
"id": "cm6cjo9el00015bay9yy2c7h1",
"internalId": "2460619713971877",
"disabled": false,
"picture": "https://postiz.vampyrespook.com/uploads/2025/01/25/de0944a1c1176831052263afa742841a7.jpeg",
"identifier": "facebook",
"inBetweenSteps": false,
"refreshNeeded": false,
"isCustomFields": false,
"display": "VampyreSpook",
"type": "social",
"time": [
{
"time": 920
},
{
"time": 1210
},
{
"time": 1500
}
],
"changeProfilePicture": false,
"changeNickName": false,
"customer": null,
"additionalSettings": "[]"
},
"value": [
{
"content": "just trying something out",
"image": [
{
"id": "27a3e6a1-5568-485d-a84e-49ac468554f9",
"name": "3e23e472-b7a6-4c8c-9387-78a5a5b6aabe.png",
"path": "https://postiz.vampyrespook.com/uploads/2025/01/25/48645f78fced3edcbd5f26ec7396cb1d.png",
"organizationId": "45307e13-3191-4070-a97b-185cdc98aa84",
"createdAt": "2025-01-25T19:55:11.548Z",
"updatedAt": "2025-01-25T19:55:11.548Z",
"deletedAt": null
}
]
}
],
"valid": true,
"settings": {},
"maximumCharacters": 63206
}
]
}
event to dispatch: {
pattern: 'post',
data: {
id: 'cm784slso0005yqpdrnr09saz',
options: { delay: 0 },
payload: { id: 'cm784slso0005yqpdrnr09saz', delay: 0 }
}
}
processing { id: 'cm784slso0005yqpdrnr09saz', delay: 0 }
Email sender information not found in environment variables
[Error] posting on facebook TypeError: fetch failed
at node:internal/deps/undici/undici:13178:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async FacebookProvider.fetch (/app/dist/apps/workers/main.js:4280:25)
at async /app/dist/apps/workers/main.js:10622:52
at async Promise.all (index 0)
at async FacebookProvider.post (/app/dist/apps/workers/main.js:10621:19)
at async PostsService.postSocial (/app/dist/apps/workers/main.js:14232:36)
at async PostsService.post (/app/dist/apps/workers/main.js:14143:19)
at async /app/node_modules/@nestjs/microservices/context/rpc-proxy.js:11:32
at async bullmq_1.Worker.connection [as processFn] (/app/dist/apps/workers/main.js:18245:60)
at async /app/node_modules/bullmq/dist/cjs/classes/worker.js:517:32
at async Worker.retryIfFailed (/app/node_modules/bullmq/dist/cjs/classes/worker.js:741:24) {
[cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 157.240.19.19:443)
at onConnectTimeout (node:internal/deps/undici/undici:2331:28)
at node:internal/deps/undici/undici:2283:50
at Immediate._onImmediate (node:internal/deps/undici/undici:2315:13)
at process.processImmediate (node:internal/timers:483:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}

================================================================================================

Instagram = {
"type": "now",
"tags": [],
"shortLink": false,
"date": "2025-02-17T01:00:00",
"posts": [
{
"integration": {
"name": "VampyreSpook",
"id": "cm6cjqvfe00035bayo3x8ktnb",
"internalId": "17841417445093500",
"disabled": false,
"picture": "https://postiz.vampyrespook.com/uploads/2025/01/25/4c4f5fefdb7721837cddaad910478c65.jpeg",
"identifier": "instagram",
"inBetweenSteps": false,
"refreshNeeded": false,
"isCustomFields": false,
"display": "vampyrespook",
"type": "social",
"time": [
{
"time": 920
},
{
"time": 1210
},
{
"time": 1500
}
],
"changeProfilePicture": false,
"changeNickName": false,
"customer": null,
"additionalSettings": "[]"
},
"value": [
{
"content": "Testing out something",
"image": [
{
"id": "27a3e6a1-5568-485d-a84e-49ac468554f9",
"name": "3e23e472-b7a6-4c8c-9387-78a5a5b6aabe.png",
"path": "https://postiz.vampyrespook.com/uploads/2025/01/25/48645f78fced3edcbd5f26ec7396cb1d.png",
"organizationId": "45307e13-3191-4070-a97b-185cdc98aa84",
"createdAt": "2025-01-25T19:55:11.548Z",
"updatedAt": "2025-01-25T19:55:11.548Z",
"deletedAt": null
}
]
}
],
"valid": true,
"group": "C8uagDKnik",
"settings": {
"post_type": "post",
"collaborators": []
},
"maximumCharacters": 2200
}
]
}
event to dispatch: {
pattern: 'post',
data: {
id: 'cm784ux850006yqpd0f68l15z',
options: { delay: 0 },
payload: { id: 'cm784ux850006yqpd0f68l15z', delay: 0 }
}
}
processing { id: 'cm784ux850006yqpd0f68l15z', delay: 0 }
in progress
in progress1

{"error":{"message":"The image format is not supported.","type":"OAuthException","code":36001,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"Axe7BhKM4gk5nqmTHaVsoZq"}}
{"error":{"message":"The image format is not supported.","type":"OAuthException","code":36001,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"Aoni63XyDErYLzAa05XTTOQ"}}
{"error":{"message":"The image format is not supported.","type":"OAuthException","code":36001,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"AgzoxqnUEOI7b4xLePoV3N1"}}
Email sender information not found in environment variables
[Error] posting on instagram {"error":{"message":"The image format is not supported.","type":"OAuthException","code":36001,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"AgzoxqnUEOI7b4xLePoV3N1"}} undefined BadBody {
identifier: '',
json: '{"error":{"message":"The image format is not supported.","type":"OAuthException","code":36001,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https:\/\/developers.facebook.com\/docs\/instagram-platform\/instagram-graph-api\/reference\/ig-user\/media#creating","fbtrace_id":"AgzoxqnUEOI7b4xLePoV3N1"}}',
body: undefined
}

================================================================================================

Threads = {
"type": "schedule",
"tags": [],
"shortLink": false,
"date": "2025-02-17T01:00:00",
"posts": [
{
"integration": {
"name": "vampyrespook",
"id": "cm6ck67h800014qdnzf5wwx2e",
"internalId": "8928605750521776",
"disabled": false,
"picture": "https://postiz.vampyrespook.com/uploads/2025/01/25/16a1cbaa4ef27b9bf64d5aa9e2fe84e3.jpeg",
"identifier": "threads",
"inBetweenSteps": false,
"refreshNeeded": false,
"isCustomFields": false,
"display": "",
"type": "social",
"time": [
{
"time": 920
},
{
"time": 1210
},
{
"time": 1500
}
],
"changeProfilePicture": false,
"changeNickName": false,
"customer": null,
"additionalSettings": "[]"
},
"value": [
{
"content": "Testing out something",
"image": [
{
"id": "27a3e6a1-5568-485d-a84e-49ac468554f9",
"name": "3e23e472-b7a6-4c8c-9387-78a5a5b6aabe.png",
"path": "https://postiz.vampyrespook.com/uploads/2025/01/25/48645f78fced3edcbd5f26ec7396cb1d.png",
"organizationId": "45307e13-3191-4070-a97b-185cdc98aa84",
"createdAt": "2025-01-25T19:55:11.548Z",
"updatedAt": "2025-01-25T19:55:11.548Z",
"deletedAt": null
}
]
}
],
"valid": true,
"group": "IBoYLTM8v9",
"settings": {},
"maximumCharacters": 500
}
]
}
event to dispatch: {
pattern: 'post',
data: {
id: 'cm784wgb40007yqpdqn247ykg',
options: { delay: 12951512 },
payload: { id: 'cm784wgb40007yqpdqn247ykg', delay: 12951512 }
}
}
{
"type": "now",
"inter": null,
"tags": [],
"shortLink": false,
"date": "2025-02-17T01:00:00",
"posts": [
{
"integration": {
"name": "vampyrespook",
"id": "cm6ck67h800014qdnzf5wwx2e",
"internalId": "8928605750521776",
"disabled": false,
"picture": "https://postiz.vampyrespook.com/uploads/2025/01/25/16a1cbaa4ef27b9bf64d5aa9e2fe84e3.jpeg",
"identifier": "threads",
"inBetweenSteps": false,
"refreshNeeded": false,
"isCustomFields": false,
"display": "",
"type": "social",
"time": [
{
"time": 920
},
{
"time": 1210
},
{
"time": 1500
}
],
"changeProfilePicture": false,
"changeNickName": false,
"customer": null,
"additionalSettings": "[]"
},
"value": [
{
"id": "cm784wgb40007yqpdqn247ykg",
"content": "Testing out something",
"image": [
{
"id": "27a3e6a1-5568-485d-a84e-49ac468554f9",
"name": "3e23e472-b7a6-4c8c-9387-78a5a5b6aabe.png",
"path": "https://postiz.vampyrespook.com/uploads/2025/01/25/48645f78fced3edcbd5f26ec7396cb1d.png",
"organizationId": "45307e13-3191-4070-a97b-185cdc98aa84",
"createdAt": "2025-01-25T19:55:11.548Z",
"updatedAt": "2025-01-25T19:55:11.548Z",
"deletedAt": null,
"url": "https://postiz.vampyrespook.com/uploads/2025/01/25/48645f78fced3edcbd5f26ec7396cb1d.png",
"type": "image"
}
]
}
],
"valid": true,
"group": "a4d26141-8b97-4d89-9e51-5a9d5f4ab541",
"settings": {},
"maximumCharacters": 500
}
]
}
event to dispatch: {
pattern: 'post',
data: {
id: 'cm784wgb40007yqpdqn247ykg',
options: { delay: 0 },
payload: { id: 'cm784wgb40007yqpdqn247ykg', delay: 0 }
}
}
processing { id: 'cm784wgb40007yqpdqn247ykg', delay: 0 }
{"error":{"message":"An unknown error occurred","type":"OAuthException","code":1,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"A6tNRknfyQZEOsQMCsJH3Gg"}}
{"error":{"message":"An unknown error occurred","type":"OAuthException","code":1,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"Akle-FVr81RgTlprPG0E2Tc"}}
{"error":{"message":"An unknown error occurred","type":"OAuthException","code":1,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"AlN6tco7SBThKoMQ-opswYE"}}
Email sender information not found in environment variables
[Error] posting on threads {"error":{"message":"An unknown error occurred","type":"OAuthException","code":1,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"AlN6tco7SBThKoMQ-opswYE"}} undefined BadBody {
identifier: '',
json: '{"error":{"message":"An unknown error occurred","type":"OAuthException","code":1,"error_subcode":2207005,"is_transient":false,"error_user_title":"Unsupported format","error_user_msg":"The image format unknown is not supported. Please refer to our dev doc for more media specification requirements: https:\/\/developers.facebook.com\/docs\/instagram-platform\/instagram-graph-api\/reference\/ig-user\/media#creating","fbtrace_id":"AlN6tco7SBThKoMQ-opswYE"}}',
body: undefined
}

In each case I can go to the actual site and post the content, so the error messages make no sense to me. I am not sure what I am missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants