I'm recieving a 502 error on Google App Engine when trying to upload an image to my NodeJS API.
My image is sent via base64. It works perfectly on my local machine, although has failed since moving it to production at Google App Engine. My guess was that maybe GAE was not accepting the request from the client since the payload was too large.
I have the following code within my server.js file that fixed the problem on my local machine, although does not fix it at GAE:
app.use(bodyParser.json({limit: '50mb'}));
app.use(bodyParser.urlencoded({limit: '50mb', extended: true}));
Is there a setting or something I need to add to my app.yaml file to allow larger data requests to my POST APIs?