alpacahq / alpacahq/Alpaca-API

{"code":40110000,"message":"request is not authorized"} for corporate_actions

Open
#224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
173
Forks
17
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

https://github.com/alpacahq/Alpaca-API/issues/118

I got the following error. I see a similar error above. I am not sure the error that I see is temporary or it is because this end point is not for a free API key. Could anybody clarify?

**To Reproduce**

$ curl -s --compressed -H "APCA-API-KEY-ID: key_id" -H "APCA-API-SECRET-KEY: secret_key" "https://api.alpaca.markets/v2/corporate_actions/announcements?ca_types=Split&since=2022-01-01&until=2022-03-01"
{"code":40110000,"message":"request is not authorized"}

**Expected behavior**
No error.

**Screenshots**
NA

**Desktop (please complete the following information):**
Not relevant.

**Smartphone (please complete the following information):**
Not relevant.

**Additional context**
Not relevant.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.