Can't create a new API key for existing user (maybe bug)

Can each user only have 1 API key? If this isn’t a bug, there definitely needs to be some guiding instructions here:

When I type this, I cannot click “Save” – why?

image

How about a tooltip or an error tip below that tells me why this button is disabled?

I found out later that normal usernames have suggestions that popup – existing accounts that have an API key don’t show up at all, making a truly confusing experience. When I first typed the user’s name, nothing showed up at all and had no suggestions like “user not found” or “user already has an api key (max 1)” or something.

It feels strange that I can’t assign more than 1 API key for different things, though - I thought that was the main point of API keys to keep scope very particular - feels more like a bug.

image

1 个赞

There is a reasonable chance that you have encountered a bug that’s been fixed. I’d do an update.

4 个赞

I am having similar type of issue where I cannot click on save it is grayed out. I am not sure if they are related. I am creating first user API key.

image

1 个赞

The “Save” button will be disabled until you fill in the “Description” field. Try filling in that field and see if you are then able to save the API key.

3 个赞

Thanks! it worked…

2 个赞

@simon @pfaffman 我是 Discourse 新手,你们能帮我指导一下吗?
我在创建新 API 时遇到问题,并且我正在为每个字段提供相应的数据。我不确定这些问题是否是由于Data explore Plugin 引起的,因为我没有订阅它。我正在生成我的第一个用户 API 密钥,但再次遇到403 错误

另外,我需要将此直接连接到我的 Power BI 仪表板。任何帮助都将非常有益。

提前感谢。

您应该开启一个新话题,并说明在遇到 403 错误时您正在做什么。您是在用户体验 (UX) 区域尝试通过 API 执行操作吗?

您正在处理的仪表板是什么?您需要如何以及为何连接到它?如何连接?

我不认为数据浏览器插件与任何问题有关。

1 个赞