Skip to content

[Bug] Twitter/trends API returns 401 Unauthorized #1

Description

@GeorgeChen1007

Description

I'm using AgentWallet with my OpenClaw AI agent and encountered the following issues:

1. Image Generation - WORKS

  • Tool: flux/schnell
  • Cost: 0.0036 CASH
  • Status: ✅ Success

2. Twitter/trends API - FAILS

  • Endpoint: POST /api/wallets/{username}/actions/x402/fetch
  • Request body:
{
  "url": "https://registry.frames.ag/api/service/twitter/api/invoke",
  "method": "POST",
  "body": {
    "endpoint": "trends",
    "woeid": 1
  },
  "preferredToken": "CASH"
}
  • Error: {"success":false,"status":401,"detail":"Unauthorized"}

3. Wallet Balance Issue

  • Previous balance of 2 $CASH disappeared after reconnecting the wallet
  • Not sure if this is expected behavior or a bug

Expected Behavior

  • Twitter/trends API should return trending topics
  • Wallet balance should persist or clearly indicate if it's reset

Environment

  • Username: songshuchen1007
  • API Token: mf_464f0c5311...

Any help would be appreciated! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions