I have followed all steps mentioned here https://developer.amazon.com/en-US/docs/alexa/smarthome/send-events-to-the-alexa-event-gateway.html till retrieving the bearer token