Skip to content

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

@PierreBeucher

Description

@PierreBeucher

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"
}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions