Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 18155

API Gateway Invalid Request Body

$
0
0

I have no idea why I am receiving this response because the request data matches the model... Additionally, when I manually configure and run a test on my Lambda function, everything works fine... What am I overlooking here?

Request Data

{"customer": "3615fdb7d785a4515dd89e9387ad348928271cd189790c72959be108fab07eab","bucket": "myBucketName","filename": "crocodile.jpg","text": "ewrrwe"}

Model

{"$schema": "http://json-schema.org/draft-04/schema#","title": "makeSvgModel","type" : "object","required" : [ "customer", "bucket", "filename", "text" ],"properties" : {"customer" : {"type" : "string"    },"bucket" : {"type" : "string"    },"filename" : {"type" : "string"    },"text" : {"type" : "string"    }  }}

Viewing all articles
Browse latest Browse all 18155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>