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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an HTTP request B...
Power Automate
Unanswered

Send an HTTP request Bad Request

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi I would like to confirm why the error happened as below.

 

-----------------------------------------------------

{
  "status": 400,
  "message": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">\r\n<HTML><HEAD><TITLE>Bad Request</TITLE>\r\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html; charset=us-ascii\"></HEAD>\r\n<BODY><h2>Bad Request - Invalid Hostname</h2>\r\n<hr><p>HTTP Error 400. The request hostname is invalid.</p>\r\n</BODY></HTML>\r\n\r\nclientRequestId: c9ebf89a-2ba3-4c5e-9093-5d9d49f8721e",
  "source": "https://*******.***.com/sites/***/_api/web/lists/getbytitle('***')/items(129)",
  "errors": []
}
-----------------------------------------------------
1005.PNG
Categories:
  • shoog Profile Picture
    2,164 on at

    It's not allowed to use getbytitle in a POST message.

     

    You should split this action into 2 actions, first a GET with the getbytitle part to retrieve the list guid, the second with the post, replacing lists/getbytitle with lists('<list guid>')

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard