---
lang: en
title: 'API docs: rest.resthttperrors.invalidrequestbody'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.resthttperrors.invalidrequestbody.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestHttpErrors](./rest.resthttperrors.md) &gt; [invalidRequestBody](./rest.resthttperrors.invalidrequestbody.md)

## RestHttpErrors.invalidRequestBody() function

<b>Signature:</b>

```typescript
function invalidRequestBody(): HttpErrors.HttpError;
```
<b>Returns:</b>

`HttpErrors.HttpError`


