web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

HTTP Request Error 422

Posted on by
I am currently helping a team with a Power Automate flow that uses an HTTP request to translate documents with Iliad API. The issue we are running into is “Error 400: Bad Request” or “Error 422: Unprocessable Entity”. It appears that the issue may lie in the Dynamic Content as the error indicates that there is no file listed, nor is there a target language listed (even though they are a part of the code). Does anyone have any ideas? I am attaching images of the flow, the HTTP request and the necessary syntax.
"body": {
        "detail": [
            {
                "type": "missing",
                "loc": [
                    "body",
                    "file"
                ],
                "msg": "Field required",
                "input": null,
                "url": "https://errors.pydantic.dev/2.7/v/missing"
            },
            {
                "type": "missing",
                "loc": [
                    "body",
                    "target_language"
                ],
                "msg": "Field required",
                "input": null,
                "url": "https://errors.pydantic.dev/2.7/v/missing"
            }
        ],
        "debugInfo": "clientRequestId: ddeacdf7-c295-4459-a4ea-1e05d0030937"
    }
 
Is it a syntax error? What should I change?
Categories:

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 650 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 341 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard