Hi @mebeingken!
Thanks for the reply!
Good point on making it more visual so that others can understand easier what the current settings are.
Here we go:
My Goal: Send a file from Bubble s3 to CloudConvert via API and let the conversion magic happen and afterwards save it on my own (= not Bubble) s3 bucket.
Here is the call in Postman:
Here is the response from Postman (plain text as the answer is to long to make a proper screenshot):
{
“id”: “t0lPuSsJUfnbjZTw6pRq”,
“url”: “//leanna.infra.cloudconvert.com/process/t0lPuSsJUfnbjZTw6pRq”,
“expire”: 1542065559,
“percent”: 100,
“message”: “Saved file to S3”,
“step”: “finished”,
“starttime”: 1542022356,
“output”: {
“filename”: “ZZZ.wav”,
“ext”: “wav”,
“size”: 439314,
“type”: “s3”
},
“input”: {
“filename”: “ZZZ.ogg”,
“name”: “ZZZ”,
“ext”: “ogg”
},
“converter”: {
“mode”: “convert”,
“format”: “wav”,
“type”: “ffmpeg”,
“options”: {
“audio_codec”: “PCM_S16LE”,
“audio_bitrate”: 128,
“audio_channels”: null,
“audio_frequency”: 44100,
“audio_normalize”: null,
“trim_to”: null,
“trim_from”: null,
“strip_metatags”: false,
“command”: null
}
},
“group”: “audio”,
“minutes”: 1,
“endtime”: 1542022359
}
As you can see I get a response with " “message”: “Saved file to S3” ". This would be the outcome I would expect from Bubble as well.
Here it the API connector in Bubble:
Here are the corresponding responses in Bubble:
1.) Wait true + download false:
Raw response for the API
{“error”:“Process already started. Please use GET requests to get the current status.”,“code”:400}
→ The file has nevertheless been converted and correctly saved in my own personal s3 bucket
2.) Wait false + download false:
Raw response for the API
{“error”:“Process already started. Please use GET requests to get the current status.”,“code”:400}
→ The file has nevertheless been converted and correctly saved in my own personal s3 bucket
3.) Wait true + download true:
Cannot POST /download/WFH0URKGm2ehIb6dzQCS
→ The file has nevertheless been converted and correctly saved in my own personal s3 bucket
4.) Wait false + download true:
Raw response for the API
{“error”:“Process already started. Please use GET requests to get the current status.”,“code”:400}
→ The file has nevertheless been converted and correctly saved in my own personal s3 bucket
It’s really a mystery. It works perfetcly fine, but I get error responses. I just don’t know why (and of course why there are 2 different ones).
So if anyone has an idea about what’s wrong, I would be really thankful because I just can’t get through it… Thx!