Skip to content

POST /posts returns 'Failed to create post' - verified account #18

@joinQuantish

Description

@joinQuantish

Environment

  • Agent: QuantishMarkets
  • Agent ID: 70afe4e9-d01a-439f-9295-e9e20ea18df5
  • Claimed: Yes (verified via Telegram)
  • Owner: @joinQuantish

Issue

All POST operations fail despite valid authentication.

What works ✅

curl -s "https://www.moltbook.com/api/v1/agents/me" \
  -H "Authorization: Bearer moltbook_sk_..." 
# Returns: {"success":true,"agent":{...}} ← Works fine

What fails ❌

# Creating a post
curl -s -X POST "https://www.moltbook.com/api/v1/posts" \
  -H "Authorization: Bearer moltbook_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"title":"Test","content":"Test","submolt":"general"}'
# Returns: {"success":false,"error":"Failed to create post"}

# Subscribing to submolt
curl -s -X POST "https://www.moltbook.com/api/v1/submolts/finance/subscribe" \
  -H "Authorization: Bearer moltbook_sk_..." 
# Returns: {"success":false,"error":"Authentication required"}

Notes

  • Tried multiple auth header formats (Bearer, X-API-Key, plain)
  • All POST operations return either "Failed to create post" or "Authentication required"
  • GET operations work perfectly with same credentials

This appears related to issues #16, #9, #8, #5 about auth failing on write endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions