# 502 cannot unmarshal number into Go struct field APIGatewayProxyResponse.multiValueHeaders

**URL:** <https://answers.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350>\
**Category:** Support\
**Tags:** lambda-functions\
**Created:** [June 6, 2020, 7:55am UTC](https://answers.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350 "2020-06-06T07:55:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FollowJack](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/followjack/32/11811_2.png) [@FollowJack](https://answers.netlify.com/u/FollowJack)\
**Post date:** [June 6, 2020, 7:55am UTC](https://answers.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350/1 "2020-06-06T07:55:55Z")

</div>

- we need to know your netlify site name: [https://5edb48143846e0b608a234a0--heuristic-yonath-e84bf6.netlify.app/`](https://5edb48143846e0b608a234a0--heuristic-yonath-e84bf6.netlify.app/%60)
- DNS issues? Probably not. But here anyway the domain: [http://wiegandautomobile.de/](http://wiegandautomobile.de/)
- Build problems? No build problems. Site is live in the end.

Dear Netlify Team,

i have a react next.js application running.  
Since yesterday night I get this message:

error decoding lambda response: error decoding lambda response: json: cannot unmarshal number into Go struct field APIGatewayProxyResponse.multiValueHeaders of type string

The last changes from my side were 7 days ago and back then everything worked until yesterday night.

Please help. The system is live.

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [June 8, 2020, 6:24pm UTC](https://answers.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350/2 "2020-06-08T18:24:02Z")

</div>

hey there,

We posted a fix on this thread, and I am going to close this one to keep everything in one place 👍

> [@Error decoding lambda response](https://answers.netlify.com/t/error-decoding-lambda-response/16348/):
>
> PLEASE help us help you by writing a good post! Site Name: [https://5edb48143846e0b608a234a0--heuristic-yonath-e84bf6.netlify.app/](https://5edb48143846e0b608a234a0--heuristic-yonath-e84bf6.netlify.app/) DNS issues? Seems not to be a DNS issue since the live preview already not working. But here anyway the link to my custom domain: [https://www.wiegandautomobile.de/](https://www.wiegandautomobile.de/) Build problems? Build goes through. Site is live. Cannot see any error. The message appears whenever calling the site. error decoding lambda response: error decoding lambda response: json: cannot unmar…

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [June 8, 2020, 6:24pm UTC](https://answers.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350/3 "2020-06-08T18:24:05Z")

</div>

closed on June 8, 2020, 6:24pm UTC. Create a new topic for help! :)


