Failed to Generate New API Key

Hi, I’m trying to create an API key for programmatic trading using the endpoint https://api.alpaca.markets.

However, when I click the “Generate New Keys” button in the dashboard, I receive a popup error that says:

Failed to generate new key

Has anyone encountered this issue? Any help would be appreciated.

I have the exact same issue and I’ve just purchased the Algo Trader Plus subscription. (It worked under paper account but getting this error under live account.) Any help?

Same here not apply to generate api key.

@AgLupus @Anthony_Yeung Is this a paper or a live account? What is the account number? I can check the logs for details.

It’s under live account. Account#: 263249530
(It’s still “Documents submitted: In review”) but I’ve already paid for
the Algo trader plus data subscription.

@AgLupus The reason API keys couldn’t be generated for your live account is that the account isn’t actually active yet. However, you do not need live account API keys to access market data. You can use your paper API keys. Any paper or live account API key can be used to access Algo Trader Plus market data. The market data subscription is tied to your owner ID, not to any specific account. The data returned will be identical.

Here’s how it works behind the scenes: when you make a market data API call, the system uses your API key to (1) find the associated account, (2) look up the owner ID of that account, and (3) check which market data subscription (Basic or Algo Trader Plus) is linked to that owner ID. Since all your accounts — both paper and live — share the same owner ID, any of your API keys will return the same data.

Regarding your live account. You may want to email support@alpaca.markets to request an update and confirm whether any documentation is still required to activate your live account.