Giter Site home page Giter Site logo

[Bug]: 403 Client Error about enex2notion HOT 2 CLOSED

vzhd1701 avatar vzhd1701 commented on May 18, 2024
[Bug]: 403 Client Error

from enex2notion.

Comments (2)

vzhd1701 avatar vzhd1701 commented on May 18, 2024 2

It was a Notion server-side hiccup, it should be resolved by now. Please try again.

from enex2notion.

sypianski avatar sypianski commented on May 18, 2024

Today I started getting an almost identical error.

Traceback (most recent call last):
  File "/opt/homebrew/bin/enex2notion", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/enex2notion/cli.py", line 175, in main
    cli(sys.argv[1:])
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/enex2notion/cli.py", line 134, in cli
    root = get_root(args.token, args.root_page)
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/enex2notion/cli.py", line 165, in get_root
    client = get_notion_client(token)
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/enex2notion/enex_uploader.py", line 26, in get_notion_client
    return NotionClient(token_v2=token)
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/notion/client.py", line 96, in __init__
    self._update_user_info()
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/notion/client.py", line 127, in _update_user_info
    records = self.post("loadUserContent", {}).json()["recordMap"]
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/notion/client.py", line 270, in post
    response.raise_for_status()
  File "/opt/homebrew/Cellar/enex2notion/0.2.12/libexec/lib/python3.10/site-packages/requests/models.py", line 960, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.notion.so/api/v3/loadUserContent

enex2notion 0.2.13
MacOS Monterey 12.4

from enex2notion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.