Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error API Request to Space Track #5

Open
setuprepairllc opened this issue Jun 9, 2024 · 3 comments
Open

Error API Request to Space Track #5

setuprepairllc opened this issue Jun 9, 2024 · 3 comments

Comments

@setuprepairllc
Copy link

setuprepairllc commented Jun 9, 2024

I checked my environment variables, dependencies and confirmed the logins work, however I am getting this error. Please see attached screenshot.

image

Operating System: Ubuntu 22.04.4 LTS
Kernel: Linux 5.15.146.1-microsoft-standard-WSL2

go version go1.22.4 linux/amd64

root@srlt02:/git/SatIntel# hostnamectl
Static hostname: srlt02
Icon name: computer-container
Chassis: container
Machine ID: d5668d855cf64f35a5b1c0a2f5a25401
Boot ID: 954ff4e2f4924ca092d24e70ef4d5d03
Virtualization: wsl
Operating System: Ubuntu 22.04.4 LTS
Kernel: Linux 5.15.146.1-microsoft-standard-WSL2
Architecture: x86-64
root@srlt02:
/git/SatIntel# go version
go version go1.22.4 linux/amd64
root@srlt02:~/git/SatIntel# cat go.mod
module github.com/ANG13T/SatIntel

go 1.20

require (
github.com/TwiN/go-color v1.4.0
github.com/iskaa02/qalam v0.3.0
github.com/manifoldco/promptui v0.9.0
)

require (
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.0.3 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mazznoer/colorgrad v0.8.1 // indirect
github.com/mazznoer/csscolorparser v0.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.15.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
root@srlt02:/git/SatIntel# go mod tidy
go: downloading github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1
go: downloading github.com/chzyer/logex v1.1.10
root@srlt02:
/git/SatIntel# go mod download
root@srlt02:~/git/SatIntel# go get ./...

@raybeecham
Copy link

Having the same issues

@Sikorsky3301
Copy link

might be caused by an incorrect API KEY

@cmang
Copy link

cmang commented Nov 15, 2024

I am getting the same error as OP.

Today I received this E-mail from [email protected]. It seems the API call has changed:

Within the last 24 hours, you have received an error when you attempted to use space-track.org's API with a single command to both login and return data at the same time. This "single command" feature has been deprecated for six months and is permanently disabled now. We sent out a warning (below) last month, asking users to stop using this feature.

Please refactor your code to follow the steps in our documentation https://www.space-track.org/documentation#howto-api_intro to request a cookie and use that throughout your API session. You will need to login during one step and then request API data in subsequent steps. Please don't forget to logout at the end of your script.

If you have already made this change, you can ignore this email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants