Facing trouble troubleshooting an issue with bubble API connector

First let me share a video explaining what and how I am trying to do with the API in my bubble app using postman, its only a 2min video. (Click here)

Now that you have understood what I am trying to do with the API, let me show you what is happening in my bubble app when I use the same workflow and logic in my bubble App, just a 5min video. (Click here)

For those who can’t watch video ( which I recommend you to plz watch) here is an explanation of the issue I am facing.

Let us first understand what my API calls does with its name.

  1. (POST) Sending user data
    Sends the required data of the user required by the API let us use their service and gives a response containing the “id” of the user who’s data we have uploaded and “recordinguploadurl” where we are suppose to upload our users audio recording.

  2. (PUT) Uploading audio
    Uploads the audio recording of the user on the link “recordinguploadurl” for API to process it.

  3. (GET) Fetching scores
    Fetch the scores of the users using the “Id” provided to us in the fist request.

Now the issue is that I am unable to get back any scores and that status that the 3rd API call returns is “Complete_Error” which according to the documentation means that the Api did it thing but the input given to it was wrong or corrupted or anything but not right.

I have already looked at what are the supported file formates and after testing the file with postman I know its not that I am uploading the audio file which is not a supported file format.

Here is the link to the API documentation. (Click here)

Its a urgent matter at hand, so I am requesting help form you folks who have more experience than I am. Will wait for you people’s replys.

Are you uploading the file using API connector in Bubble to? Because it won’t work. Bubble doesn’t do binary request actually in API Connector. The first and last call should work. Maybe this API offer other option for file upload?

Is there any other alternative to do it?

If this is uploaded by user and you automatically send the file to API, you could create your own client side uploader that will use the provided link to upload the file in binary format. If not, you will probably need to ue a third party tool like make because a server side plugin will probably go above allowed Bubble limits.

This topic was automatically closed after 70 days. New replies are no longer allowed.