So i am getting an internal server error when using Rapid api's paraphrasing tool!

image

This is the rapid API tool that i used to paraphrase sentence and content .

i had used the HTTP request , make a request module.

But i am getting an internal error in make after the module run,

But the rapid api tool is working when called from other tools , like Postman , but in make.com its returning me only with an internal error from server , while server seems to be working fine
Please help!

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hey @sanjith_raja - can you provide either a blueprint export like Samliew asked for or provide screenshots of your entire HTTP module? From there I should be able to better troubleshoot what exactly is going on.

content_repurpse.json (13.1 KB)

Hey @sanjith_raja - I was able to get it to work! It looks like the issue was with your headers, you had some uppercase characters headers instead of the lowercase character headers like specified on the rapidapi api page. (Ex. X-RapidAPI-Key vs x-rapidapi-key)

corrected_content_repurpse.json (13.1 KB)

I’ve attached the updated version. I also took out the API key.You should absolutely invalidate that old API key (as it was published publicly by uploading the blueprint here) and generate a new one to pass in to your workflow!

Let me know if this works and if you have any additional questions feel free to ask them here!

2 Likes

For RapidAPI keys, I recommend using the “Make an API Key Auth Request” module.

How to call an API on RapidAPI

Use the HTTP “Make an API Key Auth Request” module.

Create a new keychain connection and insert your RapidAPI API Key.

Key: <YOUR_RAPIDAPI_KEY>
API Key parameter name: X-RapidAPI-Key

You can reuse this RapidAPI keychain for all API calls to RapidAPI, you’ll just need to change the X-RapidAPI-Host value based on the API you are calling.

2 Likes

Thank you so much ! That’s so kind of you for the support!
It is working perfectly ,

But the headers were given in upper case in the RapidApi speficiation , so i just used them directly,

so should the headers always be in lower case in make.com ??

also the body which was given in the Rapid api page was different , they had language , strength , text , so i used in the same order !

But in the one created by has the order in different format , and it works only in the format you had given as shown below

so why did you change the order which gave the result ?

Cause i used the same format in upper cause in POSTMAN as given in the Rapid API’s format, and it worked fine in postman (given below👇) , why such changes in formatting should be done in make.com ??

So it would me very helpful for me if you could just explain me this !