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

Can't create machine with strange error message "⛔ Required" #78

Open
PierreBeucher opened this issue Jul 13, 2024 · 0 comments
Open

Comments

@PierreBeucher
Copy link

I'm trying to create a machine with commands such as:

pspace machine create --name CloudyPad_pspace --template-id t0nspur5 --disk-size 100 --machine-type P4000 --public-ip-type static --region="Europe (AMS1)"

But CLi returns an error message which does not provide any other information:

⛔ Required

Where it's quite specific about what's missing (such as missing required parameter)

Debug does not provide more data:

pspace machine create -l debug --name CloudyPad_pspace --template-id t0nspur5 --disk-size 100 --machine-type P4000 --publi
c-ip-type static --region="Europe (AMS1)"
INFO     | GET https://api.paperspace.com/v1/billing/account-standing
⛔ Required

Using

pspace v1.10.1 (build date: Jul 13, 2024, 11:30 AM; commit: 5cfc593dbe29d111491ea6b272e15ddf6dd6b7d1)

As a workaround I'm using plain curl API request with equivalent parameters:

curl --request POST \
  --url https://api.paperspace.com/v1/machines \
  --header 'Authorization: Bearer xxx' \
  --header 'Content-Type: application/json' \
  --data '{
    "diskSize": 100,
    "machineType": "P4000",
    "name": "CloudyPad_pspace",
    "region": "Europe (AMS1)",
    "templateId": "t0nspur5",
    "publicIpType": "static"
}'
PierreBeucher added a commit to PierreBeucher/cloudypad that referenced this issue Jul 13, 2024
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

1 participant