@HoldYourWaffle the comma was missing, thank you. So I’ve added it, checked everything again and the response is now a 500 error.
This is the config of the Piece (I’ve hard coded the URL of a test audio file and the API key has now been changed)
This is the input and output from the test run details.
For clarity this the JSON in the config of the Piece:
{
"input": {
"srt": true,
"url": "https://karavadra.net/shared/thequick.mp3",
"summarize": 0,
"translate": "to_eng",
"diarization": true,
"language_code": "en",
"return_as_file": false,
"llm_translation": "",
"srt_translation": "",
"custom_vocabulary": "",
"sentence_diarization": false,
"word_level_timestamps": false,
"sentence_level_timestamps": false
},
"webhook": "",
"metadata": {
"my-job-id": ""
}
}
This is the input from the test run:
{
"url": "https://api.salad.com/api/public/organizations/karavadra/inference-endpoints/transcribe/jobs",
"body": {
"data": {
"input": {
"srt": true,
"url": "https://karavadra.net/shared/thequick.mp3",
"summarize": 0,
"translate": "to_eng",
"diarization": true,
"language_code": "en",
"return_as_file": false,
"llm_translation": "",
"srt_translation": "",
"custom_vocabulary": "",
"sentence_diarization": false,
"word_level_timestamps": false,
"sentence_level_timestamps": false
},
"webhook": "",
"metadata": {
"my-job-id": ""
}
}
},
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Salad-Api-Key": "salad_cloud_user_pEpRMWbNUvbiWhQIdT745JzgrVJI29DbDENp3kd8Jky1iBUzS"
},
"failsafe": false,
"body_type": "json",
"use_proxy": false,
"queryParams": {},
"proxy_settings": {}
}
This is the exact output from the test run:
{"response":{"status":500,"body":""},"request":{"body":{"input":{"srt":true,"url":"https://karavadra.net/shared/thequick.mp3","summarize":0,"translate":"to_eng","diarization":true,"language_code":"en","return_as_file":false,"llm_translation":"","srt_translation":"","custom_vocabulary":"","sentence_diarization":false,"word_level_timestamps":false,"sentence_level_timestamps":false},"webhook":"","metadata":{"my-job-id":""}}}}
and here’s the same output made easier to read:
{
"response": {
"status": 500,
"body": ""
},
"request": {
"body": {
"input": {
"srt": true,
"url": "https://karavadra.net/shared/thequick.mp3",
"summarize": 0,
"translate": "to_eng",
"diarization": true,
"language_code": "en",
"return_as_file": false,
"llm_translation": "",
"srt_translation": "",
"custom_vocabulary": "",
"sentence_diarization": false,
"word_level_timestamps": false,
"sentence_level_timestamps": false
},
"webhook": "",
"metadata": {
"my-job-id": ""
}
}
}
}
I’m going to update the support request to Salad with the comma syntax correction and the new 500 response.
Thank you for looking at this, it’s really appreciated.