Andrew
Andrew
RRunPod
Created by Andrew on 3/31/2024 in #⚡|serverless
Webhook failed with 413 or 502 code
My webhook is never called. The Webhook Request Responses graph showed 413: 6 and 502: 3. The output (the result of https://api.runpod.ai/v2/kkk/status/:id) is attached. My webhook is hosted in AWS lambda like https://cccc.lambda-url.us-west-1.on.aws/runpod/webhook?id=242&passcode=uuuu The output is not large which is only 11 kb. And if I send POST request to the webhook url with the output in body in Postman, my AWS lambda accepts and responses the request successfully. Very weird. Could you help? Thank you!
4 replies
RRunPod
Created by Andrew on 2/20/2024 in #⚡|serverless
Runpod api npm doesn't work
I'm following https://doc.runpod.io/reference/health-check to call runpod with npm api package
const sdk = require('api')('@runpod/v1.0#18nw21lj8lwwiy');
sdk.healthCheck({endpoint_id: 'yy'})
const sdk = require('api')('@runpod/v1.0#18nw21lj8lwwiy');
sdk.healthCheck({endpoint_id: 'yy'})
But installing @runpod/v1.0#18nw21lj8lwwiy failed
% npx api install @runpod/v1.0#18nw21lj8lwwiy
✔ What language would you like to generate an SDK for? › TypeScript
✔ Fetching your API
✖ Generating your SDK
Sorry, this OpenAPI definition does not have any operation paths to generate an SDK for.
% npx api install @runpod/v1.0#18nw21lj8lwwiy
✔ What language would you like to generate an SDK for? › TypeScript
✔ Fetching your API
✖ Generating your SDK
Sorry, this OpenAPI definition does not have any operation paths to generate an SDK for.
3 replies