awslabs / aws-iot-certificate-vending-machine

The CVM allows a device to apply for its own certificate and installation.
Apache License 2.0
82 stars 16 forks source link

"null" response after API gateway request #6

Open pankaj1V opened 5 years ago

pankaj1V commented 5 years ago

Hi, when we request the API gateway(URL) for second time with the same serialNumber and deviceToken it shows the "null" response, instead of null response i want to show other message like Access deny etc.. Can you elaborate how you pass the "null" in response and how it change? Thanks

cncoder commented 5 years ago

I will update the current code to make sure Lambda returns useful hints.

xwdreamer commented 5 years ago

I also have the same requirement, want to give user more useful hints. expect you update.