Hi I tried to use following command to create a pod to test.
curl --request POST \
--url https://api.runpod.io/graphql \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"query":"mutation { podFindAndDeployOnDemand(input: { cloudType: SECURE gpuCount: 1 gpuTypeId: \"NVIDIA A40\" name: \"A40 Pod\" imageName: \"runpod/pytorch\" containerDiskInGb: 40 volumeInGb: 40 }) { id imageName machineId } }"}'
My API_key is with right permissions. I got 500: Internal Server Error. Anyone know why this happens?