# Couldn't add device (AWS lambda)

**URL:** <https://community.smartthings.com/t/couldnt-add-device-aws-lambda/222299>\
**Category:** Support\
**Created:** [March 9, 2021, 6:43am UTC](https://community.smartthings.com/t/couldnt-add-device-aws-lambda/222299 "2021-03-09T06:43:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [March 10, 2021, 5:24pm UTC](https://community.smartthings.com/t/couldnt-add-device-aws-lambda/222299/5 "2021-03-10T17:24:10Z")

</div>

Ok, so, since the Authentication flow doesn’t seem to initialize. Take a look at the OAuth servers of the samples below. They have been tested and the OAuth process is successful, within them, you can see the process flow and verify if your integration complies with it.

> **[GitHub - SmartThingsCommunity/MyCloudToCloudSchemaConnection](https://github.com/SmartThingsCommunity/MyCloudToCloudSchemaConnection)**
>
> Contribute to SmartThingsCommunity/MyCloudToCloudSchemaConnection development by creating an account on GitHub.

> [@Schema Devices and Custom Capabilities](https://community.smartthings.com/t/schema-devices-and-custom-capabilities/199675/1):
>
> Step 2: [Remix](https://glitch.com/edit/#!/remix/schema-dummy-oauth) this Glitch account (OAuth)

> [@Schema Devices and Custom Capabilities](https://community.smartthings.com/t/schema-devices-and-custom-capabilities/199675):
>
> Creating custom capabilties for schema devices Using the SmartThings CLI and Developer Workspace We are going to create a Cloud Connected Device using Schema and webhooks. Our base device will be a basic switch. The first part of this tutorial will cover create the connector, oAuth server, and adding the Switch to SmartThings. The second part of the tutorial will cover adding a custom capability to this new device. Prerequisites: Samsung Account Developer Workspace Access Developer Mode Enabled Glitch Account Text File Step 1: [Remix](https://glitch.com/edit/#!/remix/schematutorial) this Glitch account (connector) Set the values in the .env file using .env-example as a guide. Once the remixed app is up and running copy its URL to your text file. Register the webhook url in SmartThings Developer Workspace and deploy it for t…

---

_[View the full topic](https://community.smartthings.com/t/couldnt-add-device-aws-lambda/222299)._
