-
Couldn't load subscription status.
- Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The language attribute in Sphinx is text but the Notion API is looking for plain text:
notion_client.errors.APIResponseError: body failed validation: body.children[37].code.language should be `"abap"`, `"abc"`, `"agda"`, `"arduino"`, `"ascii art"`, `"assembly"`, `"bash"`, `"basic"`, `"bnf"`, `"c"`, `"c#"`, `"c++"`, `"clojure"`, `"coffeescript"`, `"coq"`, `"css"`, `"dart"`, `"dhall"`, `"diff"`, `"docker"`, `"ebnf"`, `"elixir"`, `"elm"`, `"erlang"`, `"f#"`, `"flow"`, `"fortran"`, `"gherkin"`, `"glsl"`, `"go"`, `"graphql"`, `"groovy"`, `"haskell"`, `"hcl"`, `"html"`, `"idris"`, `"java"`, `"javascript"`, `"json"`, `"julia"`, `"kotlin"`, `"latex"`, `"less"`, `"lisp"`, `"livescript"`, `"llvm ir"`, `"lua"`, `"makefile"`, `"markdown"`, `"markup"`, `"matlab"`, `"mathematica"`, `"mermaid"`, `"nix"`, `"notion formula"`, `"objective-c"`, `"ocaml"`, `"pascal"`, `"perl"`, `"php"`, `"plain text"`, `"powershell"`, `"prolog"`, `"protobuf"`, `"purescript"`, `"python"`, `"r"`, `"racket"`, `"reason"`, `"ruby"`, `"rust"`, `"sass"`, `"scala"`, `"scheme"`, `"scss"`, `"shell"`, `"smalltalk"`, `"solidity"`, `"sql"`, `"swift"`, `"toml"`, `"typescript"`, `"vb.net"`, `"verilog"`, `"vhdl"`, `"visual basic"`, `"webassembly"`, `"xml"`, `"yaml"`, or `"java/c/c++/c#"`, instead was `"text"`.
ftnext
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working