# AWS SNS Not Working in 2.0

**URL:** <https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150>\
**Category:** REST API\
**Created:** [February 9, 2016, 12:01am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150 "2016-02-09T00:01:50Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 9, 2016, 12:01am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/1 "2016-02-09T00:01:50Z")

</div>

Hi Guys,

DF 2.0 is good except for one major reason. The whole client application has to be changed for API calls as the request and response has changed significantly. Also I have one major issue in 2.0. Anything related to endpoints is not working in 2.0. I am not able to listEndPoints, createEndpoints etc.

I am sure the configuration is right as listTopics and other stuff works. Also this is working perfectly in 1.9.1.

Please check and help me resolve this issue.

J

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 11, 2016, 2:17pm UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/2 "2016-02-11T14:17:31Z")

</div>

Hi, Please help me solve this issue.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [February 11, 2016, 3:27pm UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/3 "2016-02-11T15:27:57Z")

</div>

I don’t have a lot of experience with SNS, but I’ll be happy to look into it.

RE: the differences between 1.9 and 2.x – version 2 was a complete rewrite, including a change of frameworks, causing many of the differences you see. We also took the opportunity to implement some best practices, such as adding the api versioning to the api path (you’ll notice most public APIs do this.) We did our best to document the significant changes: [https://wiki.dreamfactory.com/DreamFactory/Tutorials/Upgrading\_Your\_App](https://wiki.dreamfactory.com/DreamFactory/Tutorials/Upgrading_Your_App)  
The wiki also has release notes for each revision.

Anyway, like I said, I’ll check out SNS and see what I can find.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [February 11, 2016, 8:04pm UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/4 "2016-02-11T20:04:45Z")

</div>

I’m not having any trouble with this in my instance, which is on the latest code, 2.1 retagged and published 2 days ago.

Can you post what specific version of DreamFactory you’re using, and the full API calls and errors you’re getting back?

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 13, 2016, 7:46am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/5 "2016-02-13T07:46:34Z")

</div>

DreamFactory Version: 2.0.2

Request URL is

http:///api/v2/Push/endpoint?names\_only=true

Response Body is empty

{  
“resource”: []  
}

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 13, 2016, 7:47am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/6 "2016-02-13T07:47:41Z")

</div>

When I try listEndPoints, I do not get any error message but the response body is empty. Other methods like listTopics works fine. Also listEndPoints works in 1.9.0

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 13, 2016, 8:07am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/7 "2016-02-13T08:07:28Z")

</div>

I update my server to 2.1 but still not receiving endPoints when I call api/v2/Push/endpoint?names\_only=true

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 16, 2016, 7:36am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/8 "2016-02-16T07:36:48Z")

</div>

Hi @formerstaff,

Where you able to check why this is not working?

J

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [February 17, 2016, 7:53am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/9 "2016-02-17T07:53:56Z")

</div>

I have not been able to look at this since your last reply – traveling.

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [February 22, 2016, 11:48am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/10 "2016-02-22T11:48:28Z")

</div>

Ok. I am doing a workaround of creating a new remote web service. Any help will be useful on making SNS working will be helpful

---

<div class="post-metadata">

**Author:** ![Frankobello](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@Frankobello](https://community.dreamfactory.com/u/Frankobello)\
**Post date:** [March 2, 2016, 11:06am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/11 "2016-03-02T11:06:01Z")

</div>

Hi, I do have the same issue. Does anybody have found the reason or a workaround? Would be great.

---

<div class="post-metadata">

**Author:** ![jayp](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jayp/32/973_2.png) [@jayp](https://community.dreamfactory.com/u/jayp)\
**Post date:** [March 8, 2016, 5:31am UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/12 "2016-03-08T05:31:26Z")

</div>

The workaround I am doing is creating a remte web service for AWS SNS as a remote web service. It’s quite complex and I am doing it only for post to application method.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [March 23, 2016, 6:45pm UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/13 "2016-03-23T18:45:53Z")

</div>

DreamFactory 2.1.1 contains an updated AWS sdk module. This may resolve the issue you’re experience. Try it out and see.

---

<div class="post-metadata">

**Author:** ![philicious](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/philicious/32/689_2.png) [@philicious](https://community.dreamfactory.com/u/philicious)\
**Post date:** [August 8, 2016, 1:19pm UTC](https://community.dreamfactory.com/t/aws-sns-not-working-in-2-0/2150/14 "2016-08-08T13:19:16Z")

</div>

This cant work. You need to use /push/endpoint/{endpoint\_name}

Edit: ok, so for listing ALL endpoints, GET /push/endpoint would be correct but its indeed flawed. Rest of the endpoints are partially broken if you dont change webserver settings. Then its down to /push/endpoint being broken, see full list of my tests [https://github.com/dreamfactorysoftware/dreamfactory/issues/103](https://github.com/dreamfactorysoftware/dreamfactory/issues/103)
