P
Postiz2mo ago
Support

Ticket: TikTok API Integration: Not Enough Scopes Error

@RoundTable Just created a ticket
Question: I can't interate tiktok account because of not enough scope error.
Attempted: """ node:internal/process/promises:389 new UnhandledPromiseRejection(reason); ^ UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<NotEnoughScopes>". at throwUnhandledRejectionsMode (node:internal/process/promises:389:7) at processPromiseRejections (node:internal/process/promises:470:17) at process.processTicksAndRejections (node:internal/process/task_queues:96:32) { code: 'ERR_UNHANDLED_REJECTION' } Node.js v20.17.0 TypeError: fetch failed at node:internal/deps/undici/undici:13178:13 at async /app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:27862 at async is (/app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:26927) { digest: '1128623668', [cause]: SocketError: other side closed at Socket.<anonymous> (node:internal/deps/undici/undici:6020:28) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'UND_ERR_SOCKET', socket: { localAddress: '::1', localPort: 52420, remoteAddress: '::1', remotePort: 3000, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 1780, bytesRead: 0 } } } """
Working On: self-hosted, docker-compose
Take it from here @Postiz
5 Replies
RoundTable
RoundTable2mo ago
I use tiktok sandbox instead of production
No description
No description
No description
RoundTable
RoundTable2mo ago
I found why the issue occur. """ Note: Sandbox mode does not offer access to Content Posting API for public videos or Data Portability API. """ https://developers.tiktok.com/doc/add-a-sandbox/
Support
SupportOP2mo ago
@Postiz please help @RoundTable
Nevo David
Nevo David2mo ago
Yeah, Tiktok is very problematic you need to have all the permissions approved to start using it You supposed to be able to post as "SELF" if your account is private @RoundTable
Ryan
Ryan2mo ago
Just ran into this problem, so you have to have a full production app?

Did you find this page helpful?