Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Issues
  • #1682
Closed
Open
Issue created Apr 13, 2020 by barrucadu@barrucaduContributor

Unable to use API to post new statuses (basic auth problem?)

At some point, I lost the ability to post new statuses through the API:

$ curl -XPOST 'https://ap.barrucadu.co.uk/api/v1/statuses' -H 'content-type: application/json' -d '{"status":"api test"}' -u 'memo:<password>'
{"error":"Insufficient permissions: write:statuses."}

I've confirmed that the credentials are correct (I can log into the frontend with them), and the API docs say basic auth works: https://docs.pleroma.social/backend/API/pleroma_api/. Nothing shows up in the logs.

I'm using the latest release tag of pleroma, though it's been broken for a few releases now (I'm not sure exactly when it first stopped working).

Assignee
Assign to
Time tracking