get /error/400/forbidden-property
400 forbidden property
General error response. As this endpoint is static, it can not return specific details or logs for a previously sent error response.
Request
curl \ -H 'Authorization: Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc' \ https://api.example.com/error/400/forbidden-propertyimport requests
url = "https://api.example.com/error/400/forbidden-property"
headers = {"Authorization": "Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc"}
response = requests.get(url, headers=headers)
print(response.json())const url = 'https://api.example.com/error/400/forbidden-property';const options = { method: 'GET', headers: {Authorization: 'Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}<?php
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.example.com/error/400/forbidden-property', [ 'headers' => [ 'Authorization' => 'Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc', ],]);
echo $response->getBody();Response
_____ _ _ _ _ ____ ___ | ____|_ __ ___ | |__ ___ _ __ | \ | | _____ ___ _ ___ / \ | _ \_ _| | _| | '_ ` _ \| '_ \ / _ \ '__| | \| |/ _ \ \/ / | | / __| / _ \ | |_) | | | |___| | | | | | |_) | __/ | | |\ | __/⟩ ⟨| |_| \__ \ / ___ \| __/| | |_____|_| |_| |_|_.__/ \___|_| |_| \_|\___/_/\_\\__,_|___/ /_/ \_\_| |___|
Error 400 - Forbidden Property
This error is thrown when the request body contains a property, which is either generally not allowed or can not be changed manually.
Link to the documentation: https://ember-nexus.github.io/api
Link to http.dev's explanation of the 400 error code: https://http.dev/400Access-Control-Allow-Headers: Authorization, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-MethodAccess-Control-Allow-Methods: GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCKAccess-Control-Allow-Origin: *Access-Control-Expose-Headers: ETag, LocationAllow: GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCKCache-Control: no-cache, privateX-Powered-By: Ember Nexus API{ "type": "string"}Request Header
Authorization
optional
Bearer token for user authentication. If omitted, the request is processed as an anonymous user; if provided, the associated user account is used.
Response Header
Access-Control-Allow-Headers
always
Specifies which HTTP headers can be used during a cross-origin request, returned in preflight responses.
Access-Control-Allow-Methods
always
Indicates which HTTP methods are permitted for cross-origin requests, typically returned in preflight responses.
Access-Control-Allow-Origin
always
Specifies which origin(s) may access the resource.
Access-Control-Expose-Headers
always
Lists the response headers that browsers are allowed to access from JavaScript beyond the default restricted set.
Allow
always
Lists the HTTP methods supported by the endpoint; returned alongside a 405 Method Not Allowed response.
Cache-Control
always
Directives controlling caching behavior for the response.