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

DigitalOcean Api token #354

Open
Vsevosemnog opened this issue May 13, 2022 · 2 comments
Open

DigitalOcean Api token #354

Vsevosemnog opened this issue May 13, 2022 · 2 comments

Comments

@Vsevosemnog
Copy link

Good day!

I get an error

File "/usr/local/lib/python3.10/http/client.py", line 1260, in putheader
    raise ValueError('Invalid header value %r' % (values[i],))
ValueError: Invalid header value b'Bearer dop_v1_XXXXXXXX7\n'

where dop_v1_XXXXXXXX - my Digital Ocean api token. I really can`t understand, what i am doing wrong

@koalalorenzo
Copy link
Owner

I'm not sure 🤔 have you tried to re-generate the key? Did you find a solution? Otherwise, I will close this issue for inactivity 😅

@SanjaySRocks
Copy link
Contributor

SanjaySRocks commented Jan 27, 2023

Good day!

I get an error

File "/usr/local/lib/python3.10/http/client.py", line 1260, in putheader
    raise ValueError('Invalid header value %r' % (values[i],))
ValueError: Invalid header value b'Bearer dop_v1_XXXXXXXX7\n'

where dop_v1_XXXXXXXX - my Digital Ocean api token. I really can`t understand, what i am doing wrong

Share code you are trying to run

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

3 participants