Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.fastgen.com/llms.txt

Use this file to discover all available pages before exploring further.

Define error reponses for your APIs. error-response-header

Overview

The Error Response allows you to specify a response that will be sent back to the client when an error occurs during the API endpoint execution. You are able to set a Status Code, Response Header as well as a Response Body to provide additional information to the client. For the Error Response, choose a 4xx status code for client errors and 500 for server errors. Lastly, through the toggle you are able to allow further action blocks to be executed after a response has been sent.

Example

Down below you can see an error response in it’s most simple form: