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

if the init fails #2

Open
sjoertvv opened this issue Dec 1, 2022 · 1 comment
Open

if the init fails #2

sjoertvv opened this issue Dec 1, 2022 · 1 comment

Comments

@sjoertvv
Copy link
Collaborator

sjoertvv commented Dec 1, 2022

https://github.com/AmpelProject/Ampel-nuclear/blob/cef592dff6f090628518a1d207a95d7dd6215c82/run_tde_test.py#L88

In my first attempt at

./run_tde_test.py -i

failed because I was using my Ampel API token (and not the archive token). This line the first one that breaks, but the error thrown here make clear it's simply and authorization issue. Shall I add a check for unauthorized in the output from response = requests.post()?

@simeonreusch
Copy link
Collaborator

hi Sjoert, yeah, that would be great!

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

2 participants