Notion Database Update: Problem loading parameter options

I’m getting the following error when trying to update a Notion database property: There was a problem loading the parameter options from server: "401 - {"object":"error","status":401,"code":"unauthorized","message":"API token is invalid."}"

The thing is that it’s returning my database page, but it seems as though I’m unable to update any properties due to it returning a 401 error. Is there something I’ve missed or is this a bug?

Information on your n8n setup

  • n8n version: 0.185.0
  • Database you’re using (default: SQLite): Postgres
  • Running n8n with the execution process [own(default), main]: Main
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hi @Peter_Henry, I am sorry to hear you’re having trouble here.

I just tested this against my own test database and didn’t run into trouble here:

Is there a chance your integration doesn’t have full access to the database item you’re trying to update or that it lacks the required permissions?

image

Hi @MutedJam,

Thanks for the response. I realized that the issue seems to stem from the fact that the credentials are populated dynamically using an expression.

I was able to “fix” the issue by putting the field name and the type (ie. Status | select) and then it gave me the option to set the value.