nathaniel
nathaniel
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
great. sorry it took some stumbling around. hope the billing apis help you out
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
try now, the fix is actually there this time :Facepalm:
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
ok, I think the fix from yesterday just didn't take. the service the queries are running on has some kinda weird ux for when your changes are actually published
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
hmm yeah still looks wrong doesn't it. ok, bear with me. will check with my own billing data now and report back when they match / what the issue was
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
get rid of all the filters though, they seem to be filled in with default values from the api testing site never mind I see only the two right ones are checked
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
yeah, it should be the same
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
hopefully you can see that the diskSpaceBilledGB is really in units of GB * time, and so is correct but isn't super informative
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
but lmk if numbers still don't agree
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
thanks for reporting, I think that was it
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
try now @vuuw I found a difference
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
if so it'll be a quick fix
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
I will see if there's a difference in the backend queries, it looks like there might be
21 replies
RRunPod
Created by vuuw on 4/24/2025 in #⚡|serverless
Billing question
just to compare apples to apples, can you try setting grouping: gpuTypeId in the billing api request?
21 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
looking it up, it seems some people's perspective is that since the error happened at the business logic layer rather than the http layer, I should return 200 but with some error struct in the response body. To that I say, nah. As a consumer I like being able to assume that 200 / 2xx actually means everything went fine and my error handling code doesn't need to parse any further unless response is not 2xx
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
i looked for a 400 response code that covered this kind of situation, namely that nothing went wrong on the server but the request did not succeed. 409 sounds the closest but not exactly it?
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
if you try in future maybe we do have that combination of settings and the input does work, so problem is on our end
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
debatable, you as the user didn't do anything wrong by submitting this set of parameters, we just didn't have the infrastructure on the backend to support it
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
another option for us on the backend is to run the sql query with EXPLAIN and look at how many rows were left after each WHERE clause, and report back the ones that led to a sufficiently high % reduction of the search space. also pretty sophisticated but not as expensive since we're running the query anyway
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
In future, we might spend some extra time to get potential machines with slightly altered versions of your input, and suggest to you "hey, your input works if you get rid of AllowedCudaVersions so maybe try that". For now that is a bit sophisticated
16 replies
RRunPod
Created by vlad.pustovarov on 4/7/2025 in #⛅|pods-clusters
500 Response when creating pod using API
unfortunately this is one of the places where we can't give you super great error messages on how to fix it. This means for the set of parameters you specified, no machines match all the constraints. There are too many possible causes of this for us to narrow one down to suggest. Try removing all params you don't actually care about - they are all optional, we have defaults for them on the backend. Once you get to a configuration that works, add things in one by one to see if that was a reason machines were unavailable
16 replies