vast-ai / vast-python

Vast.ai python and cli api client
MIT License
117 stars 44 forks source link

Create subaccount response 400: Invalid json body #52

Closed rybnovdws closed 1 year ago

rybnovdws commented 1 year ago

Hello. Trying to create subaccount using new function (create subaccount from https://github.com/vast-ai/vast-python/pull/48). python3 vast.py create subaccount --email ****@****.*** --username ****** --password *********** --type host with valid api key failed with error 400: Subaccount not approved Am I doing something wrong? Or is there some other issue with it?

jsbcannell commented 1 year ago

Creation of sub accounts requires specific approval for various reasons. I believe you already contacted us; for anyone else reading this you'll need to contact us to enable this capability.