Skip to content

updating or adding multiple values for multi_select properties fails in update-page #108

@ken5scal

Description

@ken5scal

I'm trying to update a page with a multi_select property.
When adding or updating a single value, it works.
But when adding or updating multiple values, it returns the following errors

  • successful failed example01
⏺ notion - Update Notion page (MCP)(data: {"page_id":"c169f193fa344272b9c61b38b25fded3","command":"up
                                   date_properties","properties":{"tags":["anthropic","llm/mcp","oss"
                                   ,"training/education"]}})
  ⎿  Error: MCP error -32602: MCP error -32602: Invalid arguments for tool notion-update-page: [
       {
         "code": "invalid_union",
         "unionErrors": [
           {
             "issues": [
               {
                 "code": "invalid_type",
                 "expected": "string",
                 "received": "array",...
  • failed example02
⏺ notion - Update Notion page (MCP)(data: {"page_id":"c169f193fa344272b9c61b38b25fded3","command":"up
                                   date_properties","properties":{"tags":"anthropic,llm/mcp,oss,train
                                   ing/education"}})
 Error: {"name":"APIResponseError","code":"validation_error","status":400,"headers":{},"body":"{\"
     object\":\"error\",\"status\":400,\"code\":\"validation_error\",\"message\":\"Invalid select
     value for property \\\"tags\\\": \\\"anthropic,llm/mcp,oss,training/education\\\". Value must be
     one of the following: \\\"aad\\\", \\\"microsoft\\\", \\\"oss\\\", \\\"red\\\", \\\"osint\\\",
     \\\"confidential_computing\\\", \\\"device_mgt\\\", \\\"architecture\\\", \\\"aws\\\",
     \\\"cncf\\\", \\\"container\\\", \\\"sre\\\", \\\"blue\\\", \\\"dfir\\\", \\\"service\\\",
     \\\"google\\\", \\\"supply_chain\\\", \\\"slsa\\\", \\\"sigstore\\\", \\\"trust\\\",
     \\\"governance\\\", \\\"jwt\\\", \\\"oauth\\\", \\\"digital_identity\\\", \\\"oidc\\\",
     \\\"vul_mgt\\\", \\\"seccamp\\\", \\\"fido\\\", \\\"financial\\\", \\\"github\\\", \\\"cicd\\\",
     \\\"datadog\\\", \\\"observability/detection\\\", \\\"terraform\\\", \\\"edr\\\",
     \\\"windows\\\", \\\"enum\\\", \\\"defcon\\\", \\\"aml\\\", \\\"netflix\\\", \\\"paper\\\",
     \\\"sto\\\", \\\"siem\\\", \\\"soar\\\", \\\"sentinel\\\", \\\"data_science/data_engineer\\\",
     \\\"privacy\\\", \\\"golang\\\", \\\"threat_model\\\", \\\"file_storage\\\", \\\"pac\\\",
     \\\"google_workspace\\\", \\\"blockchain\\\", \\\"ssi\\\", \\\"gitlab\\\", \\\"conf_codeblue\\\",
      \\\"dev\\\", \\\"osquery\\\", \\\"devsecops\\\", \\\"sdlc\\\", \\\"mac\\\", \\\"test\\\",
     \\\"alb\\\", \\\"ecs\\\", \\\"cloudflare\\\", \\\"iac\\\", \\\"mitre\\\", \\\"handbook\\\",
     \\\"pmconf\\\", \\\"research\\\", \\\"odic\\\", \\\"iddance\\\", \\\"利害関係あり\\\",
     \\\"phishing\\\", \\\"training/education\\\", \\\"gocon\\\", \\\"hashiconf\\\", \\\"business\\\",
      \\\"cloudnative_days\\\", \\\"ncsc\\\", \\\"finolab\\\", \\\"slack\\\", \\\"chaos_eng\\\",
     \\\"risk_mgt\\\", \\\"audit\\\", \\\"ossf\\\", \\\"ebpf\\\", \\\"cisa\\\", \\\"data_modeling\\\",
      \\\"serverless\\\", \\\"soc\\\", \\\"kql\\\", \\\"jamf\\\", \\\"career\\\", \\\"nist\\\",
     \\\"patch_mgt\\\", \\\"zta\\\", \\\"microsoft_defender\\\", \\\"mercari\\\", \\\"log4j\\\",
     \\\"threat_intelligence\\\", \\\"cis\\\", \\\"interest:high\\\", \\\"pki\\\", \\\"misc\\\",
     \\\"policy\\\", \\\"space\\\", \\\"book\\\", \\\"products\\\", \\\"GraphQL\\\", \\\"awesome\\\",
     \\\"crypto\\\", \\\"sast\\\", \\\"dast\\\", \\\"robot\\\", \\\"pdm\\\", \\\"cspm\\\",
     \\\"opa\\\", \\\"ipa\\\", \\\"heroku\\\", \\\"dlp\\\", \\\"auth0\\\", \\\"owasp\\\",
     \\\"ditstributed_systems\\\", \\\"ietf\\\", \\\"csa\\\", \\\"jupiterOne\\\", \\\"asset_mgt\\\",
     \\\"csp\\\", \\\"law\\\", \\\"chainguard\\\", \\\"secrets\\\", \\\"my_thought\\\", \\\"cwe\\\",
     \\\"blender\\\", \\\"cg\\\", \\\"連載_戦略としての企業価値\\\", \\\"black_hole\\\", \\\"isac\\\",
      \\\"dfir_半田病院\\\", \\\"やってみた\\\", \\\"attack_surface_mgt\\\", \\\"writing\\\",
     \\\"uem\\\", \\\"sans\\\", \\\"ssvc\\\", \\\"jpcert\\\", \\\"burp\\\", \\\"typescript\\\",
     \\\"dfir_uber\\\", \\\"ctf\\\", \\\"microsoft_ignite_2022\\\", \\\"keynote\\\", \\\"db\\\",
     \\\"design_pattern\\\", \\\"lastpass\\\", \\\"stats\\\", \\\"web_api\\\", \\\"abac\\\",
     \\\"lyft\\\", \\\"dfir_lastpass\\\", \\\"config_mgt\\\", \\\"malware/ransom\\\", \\\"oreilly\\\",
      \\\"freee\\\", \\\"idor\\\", \\\"dns\\\", \\\"gcp\\\", \\\"dfir_circleci\\\",
     \\\"public_comments\\\", \\\"まとめ\\\", \\\"aqua\\\", \\\"llm/ai\\\", \\\"conf_jsac2023\\\",
     \\\"graph_data\\\", \\\"pinterest\\\", \\\"ntt\\\", \\\"dod\\\", \\\"thm\\\", \\\"nisc\\\",
     \\\"family\\\", \\\"ssrf\\\", \\\"conf_blackhat\\\", \\\"nasa\\\", \\\"conf_sans\\\",
     \\\"dfir_okta\\\", \\\"conf_oidc\\\", \\\"enisa\\\", \\\"periodic_reports\\\", \\\"wiz\\\",
     \\\"iam\\\", \\\"splunk\\\", \\\"atp29/midnight_blizzard/nobelium\\\", \\\"crowdstrike\\\",
     \\\"home\\\", \\\"zanzibar\\\", \\\"nsa\\\", \\\"redcanary\\\", \\\"risk\\\",
     \\\"dfir_kadokawa\\\", \\\"ネタ/thoughts/memo\\\", \\\"twitter\\\", \\\"cisco\\\", \\\"jnsa\\\",
     \\\"objective-see\\\", \\\"snyk\\\", \\\"school\\\", \\\"conf_fwd:cloudsec\\\",
     \\\"1password\\\", \\\"まくにか マクニカ\\\", \\\"ioc\\\", \\\"trivy\\\", \\\"kaggle\\\",
     \\\"government\\\", \\\"math\\\", \\\"star\\\", \\\"articaleOfTheDay\\\", \\\"podcasts\\\",
     \\\"Wiz\\\", \\\"Iac\\\", \\\"dfir_dmm\\\", \\\"apache_iceberg\\\", \\\"duckdb\\\", \\\"byMe\\\",
      \\\"elasticsearch\\\", \\\"llm/prompt\\\", \\\"llm/mcp\\\", \\\"dfir_tjactions\\\",
     \\\"flatt\\\", \\\"LayerX\\\", \\\"anthropic\\\", \\\"llm/agent\\\", \\\"obsidian\\\". If a new
     select option is needed, the data source must be updated to add
     it.\",\"request_id\":\"22c4b03e-bbbf-47d8-bb3a-744b39cf7127\"}"}

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