[BUG] X Integration

オープン
#2,409 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker-compose, nginx, typescript

調査の方向性

Start by reproducing the x_write workflow failure on the self-hosted Docker Compose deployment, then inspect docker-compose.prod.yml and the .env credential handling for the X/Twitter variables listed in the report. Done means the container can authenticate with the configured credentials and successfully post through the X node without the 403 error.

索引モデルが issue の本文から書いたものです。

説明

bug

When attempting to post to X.com (Twitter) using the x_write tool, the workflow fails with an authentication error: "Failed to obtain credential for tool x_write: Failed to fetch access token: 403 {"error":"Authentication required - provide session, API key, or internal JWT"}"

To Reproduce
Steps to reproduce the behavior:

Create a new workflow in Sim Studio
Add an X (Twitter) node with the x_write action
Configure the post content and parameters
Click 'Run' to execute the workflow
See error: "Failed to obtain credential for tool x_write: Failed to fetch access token: 403"

Expected behavior
The workflow should authenticate successfully with X.com using the configured credentials and post the content to Twitter without errors. The tool should either:

Use OAuth credentials (X_CLIENT_ID and X_CLIENT_SECRET) to obtain an access token, or
Use pre-configured Twitter API credentials (API key, API secret, access token, and access token secret)

Screenshots
Error message in workflow execution:
"Failed to obtain credential for tool x_write: Failed to fetch access token: 403 {"error":"Authentication required - provide session, API key, or internal JWT"}"
Additional context

Self-hosted Sim Studio instance running via Docker Compose (docker-compose.prod.yml)
Using HTTPS with nginx reverse proxy (https://sim.rpd.pm/)
Have valid X/Twitter API credentials including:

X_CLIENT_ID and X_CLIENT_SECRET (for OAuth 2.0)
TWITTER_API_KEY and TWITTER_API_SECRET
TWITTER_ACCESS_TOKEN and TWITTER_ACCESS_TOKEN_SECRET
TWITTER_BEARER_TOKEN

Credentials are set in .env file but may not be properly passed to the simstudio container
The error suggests the tool cannot access the credentials, possibly due to missing environment variable configuration in docker-compose.prod.yml
No credential management interface found in the Sim Studio UI to manually configure X/Twitter credentials

主要言語
TypeScript
スター
29.8k
フォーク
3.9k
平均マージ
1時間 44分
マージ済み PR(30日)
841

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simstudioai/sim のほかの issue

simstudioai/sim の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。