Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Json invalid error while calling a REST HTTP request API

$
0
0

@shubham.sharma wrote:

Hello there,

I am using the HTTP request command to call an API from Monkey learn website service for extracting keywords from a DATA or TEXT. It takes input as a JSON value and returns an output, But while POSTing the request I am getting an error stating-

Error-
{ status_code: 422, error_code: REQUEST_PARAM_PARSE, detail: This endpoint requires a JSON object body. }

JSON input I am giving-

{“data”:[“Elon Musk has shared a photo of the spacesuit designed by SpaceX. This is the second image shared of the new design and the first to feature the spacesuit’s full-body look.”]} .

I have checked and validated JSON object in an online validator and found it a valid one.

Please help me out resolving this issue.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>