Hey guys, i’m having an issue during deployment where the requestValidators limit has been reached?
Here is the full error:
Maximum number of Request Validators for this API has been reached. (Service: AmazonApiGateway; Status Code: 429; Error Code: LimitExceededException; Request ID: 0cd4c8d6-33d8-4044-b8bd-3eb7f5b5fc4c; Proxy: null).
Currently i’m using JSON Schema validator for each PUT and POST api in a format like so:
{
"definitions": {},
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"title": "Create Inventory Item API",
"required": [
"category",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "The category Schema",
"default": "computer"
},
"category": {
"type": "string",
"title": "The category Schema",
"default": "computer",
"pattern": "^(computer)$"
},
"title": {
"type": "string",
"title": "The title Schema",
"default": ""
},
"description": {
"type": ["string" , "null"],
"title": "The Description Schema",
"default": ""
}
}
}
I put a support ticket in with AWS and they responded that there is a limit of 20 validators per stack and I should only need 3 or so validators and reuse them? But I can’t see how with this implementation. Would anyone be able to help? Are the JSON Schema validators turned in to request validators even?
Thanks alot!
Brian