[BUG] X Integration
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- docker-compose, nginx, typescript
- Domaine
- api, authentication, devops
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 29.8k
- Forks
- 3.9k
- Merge moyen
- 1 h 44 min
- PR mergées (30 j)
- 841
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de simstudioai/sim
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
simstudioai/sim#9831 ·
Les mainteneurs répondent en général sous 1 jour
-
v2 API rate limits self-hosted installs by IP even with billing disabledPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
simstudioai/sim#8452 ·
Les mainteneurs répondent en général sous 1 jour
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)Peut-être à nouveau libre @sahooarnav2007-gif l’a pris il y a 15 jours, et aucune pull request n’est ouverte. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
simstudioai/sim#6246 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
simstudioai/sim#1204 · 8 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
simstudioai/sim#9734 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de simstudioai/sim
Issues similaires
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLPeut-être pris @Donvero l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
mui/material-ui#49751 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
diplodoc-platform/transform#1184 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
JonasKruckenberg/imagetools#973 ·
Les mainteneurs répondent en général sous 1 jour