Skip to content

Non-Root Endpoints Return 404 #169

@ckarnes

Description

@ckarnes

Every endpoint other than the root seems to return errorCode 40400.

I am running Obsidian in Debian 12. I installed both version 3.2 via the Community Plugins.

My vault is a single english word that is lower case and contains no spaces.

curl -X 'GET'   'http://127.0.0.1:27123/vault'  -H 'accept: application/json'   -H 'Authorization: Bearer <HIDDEN>'
{
  "message": "Not Found",
  "errorCode": 40400
}
curl -X 'GET'   'http://127.0.0.1:27123/'  -H 'accept: application/json'   -H 'Authorization: Bearer <HIDDEN>'
{
  "status": "OK",
  "manifest": {
    "id": "obsidian-local-rest-api",
    "name": "Local REST API",
    "version": "3.2.0",
    "minAppVersion": "0.12.0",
    "description": "Get, change or otherwise interact with your notes in Obsidian via a REST API.",
    "author": "Adam Coddington",
    "authorUrl": "https://coddingtonbear.net/",
    "isDesktopOnly": true,
    "dir": ".obsidian/plugins/obsidian-local-rest-api"
  },
  "versions": {
    "obsidian": "1.8.10",
    "self": "3.2.0"
  },
  "service": "Obsidian Local REST API",
  "authenticated": true,
  "certificateInfo": {
    "validityDays": 364.9992287037037,
    "regenerateRecommended": false
  },
  "apiExtensions": []
}

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