Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network error Error Issue #17

Closed
elf7979 opened this issue Jul 27, 2022 · 9 comments
Closed

Network error Error Issue #17

elf7979 opened this issue Jul 27, 2022 · 9 comments

Comments

@elf7979
Copy link

elf7979 commented Jul 27, 2022

status code is 400

I think I precisely followed the guidance.
Any idea why network error is occuring?

@EasyChris
Copy link
Owner

Can you post a screenshot of the error?

@elf7979
Copy link
Author

elf7979 commented Jul 28, 2022

Yes.
This is the screenshot.
obsidian_notion_failure mov

@EasyChris
Copy link
Owner

plz double check notion token and databaseID is right

and check database first custom name must be "Name", otherwise sync to notion will be failed

@elf7979
Copy link
Author

elf7979 commented Jul 31, 2022

It works now. Thanks a lot. I thought I changed the first column as "Name" but it wasn't.

But my process went this way:

  1. changed the column name to "Name"
  2. I double checked my Notion API and databaseID and recopied and repasted
  3. I wasn't sure whether the API and dbID put in correctly since there was no button to submit in plugin UI
  4. I uninstalled plugin and reinstalled plugin and put the API and databaseID again
  5. It worked

Thanks for the wonderful plugin

@EasyChris
Copy link
Owner

I wasn't sure whether the API and dbID put in correctly since there was no button to submit in plugin UI

when you paste database id or notion api. it will auto save

maybe i should change the password type to input that you can see the databaseID and notion api

@LittleHaku
Copy link

Did everything here and didn't work

@ho2sky-Git
Copy link

help me.... i do not know thw why ...
image

why Network error 400 ???

@patyiscoding
Copy link

Platform: MacOS

Having the same problem here even though my Notion API key and database ID are correct and I have a Name column in my table.

If it helps, this is the possible cause of the Network error 400 that shows up in the console:

plugin:obsidian-to-notion:15432 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'status') at Upload2Notion.eval (plugin:obsidian-to-notion:15432:15) at Generator.next (<anonymous>) at fulfilled (plugin:obsidian-to-notion:53:24) e

@aideward
Copy link

Does anyone have a fix for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants