You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Client gets response with status "COMPLETED" without any response data that the handler is adding.
This message is then observed in the sls logs:
"message": "Failed to return job results. | 400, message='Bad Request'
log.error(f"Failed to return job results. | {err}", job['id'])
Describe the solution you'd like
Return status "FAILED" to the client when it fails to return job results. Maybe also with a message saying "internal error".
If feasible return more descriptive message on why it failed.
Additional context
Asked the client to provide the request json and upon requesting myself did not run into the issue. Response had the expected data.
The expected data is a base64 string of audio.
If the handler implementation should validate the data, in what way would the data need to be validated in order too prevent this issue?
Python 3.10.13
runpod version: 1.6.2
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Client gets response with status "COMPLETED" without any response data that the handler is adding.
This message is then observed in the sls logs:
runpod-python/runpod/serverless/modules/rp_http.py
Line 54 in f6971a8
Describe the solution you'd like
Return status "FAILED" to the client when it fails to return job results. Maybe also with a message saying "internal error".
If feasible return more descriptive message on why it failed.
Additional context
Asked the client to provide the request json and upon requesting myself did not run into the issue. Response had the expected data.
The expected data is a base64 string of audio.
If the handler implementation should validate the data, in what way would the data need to be validated in order too prevent this issue?
Python 3.10.13
runpod version:
1.6.2
The text was updated successfully, but these errors were encountered: