[Notion] Can't search and create page
Extension
https://www.raycast.com/HenriChabrand/notion
Description
Searching and Creating post in Notion is not working. Already set Notion token.
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response
Thank you for opening this issue!
🔔 @HenriChabrand @mathieudutour @metakirby5 you might want to have a look.
PS: You can close this issue once resolved by posting @raycastbot close this issue.
what do you mean "not working"?
I get "Unexpected error occurred." on both commands. In addition to updating the extension settings, I have created an integration and added the connection to the desired database.
@mathieudutour I, too, am experiencing an issue seeing results via the Search Notion command, as well as creating pages via the Create Database Page command.
I have confirmed that I have created the integration correctly in Notion and added the associated Internal Integration Token to the Notion Token field in the extension configurations within Raycast.
Here are screen recordings of executing each command in Raycast:
Notion Search

Create Database Page
@mathieudutour, I've tried removing and recreating the connection and token within Notion as well as uninstalling and reinstalling the extension. My screens now mirror @csaper, no results, but I no longer get the "Unexpected error occurred." message
@mathieudutour, I've been able to set up the extensions successfully on a brand-new Notion account. I wonder if it is the size of my account that may be the issue. If there's anything I can do to help debug the issue let me know.
@mathieudutour, I've tried removing and recreating the connection and token within Notion as well as uninstalling and reinstalling the extension. My screens now mirror @csaper, no results, but I no longer get the "Unexpected error occurred." message
Just setup raycast notion extension and I am unable to search/create pages unfortunately.
TLDR: make sure that the required page has "Connection" set up in Notion
I had not exactly the same but similar problem.
After initial extension setup I created new database. I tried to select this new database in "Create Database Page" but it wasn't there.
It appears, on your first login you give access to the specific set of root pages. And if the new database is under the root page that was created after the login, it will be unavailable in Raycast. You need to add a connection to make it available.
So I added it in Notion app and the new database became available immediately.
To add a connection, open required page (in my case it was the new root page) and add a connection via the menu in the top right corner.

I believe the same limitations apply not only to creating pages in databases but to searching as well.
Thanks for the nice write up. Would you mind adding those explanations to the README of the extension?
@mathieudutour Sorry for the late answer.
Sure!
I believe I found a little bit more robust way to address this issue.
https://github.com/raycast/extensions/pull/6375
I still think there's also a problem with larger databases. I can set things up properly in a new workspace with no problems. When I try and set things up on my larger workspace I run into issues.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.