-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNS Mobile push CreatePlatformApplication() does not work #136
Comments
So I added debug of what is going over the wire and it looks like guzzle is messing up the format... ...
$sns->addSubscriber(LogPlugin::getDebugPlugin());
... Output:
When it should look something like (note missing 'entry' and 'Name' instead of 'key' and 'Value' instead of 'value':
|
We are looking into this, but it looks like there definitely is a problem. |
Thanks. I also tried setting the Once you fix, can you please make sure to test all the new Push service related methods, as this is blocking us - would like to avoid this method getting fixed but running into issues in the others. |
Sorry, I know this was just reported, but any idea a timeline for this fix? days/weeks? Thinking that if its in guzzle land it make take a while. We are trying to get this into our production apps, and trying to decide if we should go another direction (maybe write some java code using the aws sdk for java) |
This is an SDK specific issue. This issue will likely be fixed and packaged into a release early next week. |
Hey @doapp-ryanp, I am working on a fix for this right now in PR #139. I am doing some more testing before I merge it into master, but I wanted to let you know about it in case you want to give it a try. |
@jeremeamia thanks for the heads up. I wont be able to get to it for another day or so. My composer dependency chain makes it hard for me to test non tagged versions - so I'll probably wait til it gets into one. |
OK, I merged this into master now, so stay tuned for a release sometime soon. |
Now released in 2.4.4. |
Thanks! |
Why this bug is closed ? sns.createPlatformApplication promise does not return anything, either success or failure..... |
I am trying to do a createPlatformApplication and I keep getting the following cryptic error:
Here is my code:
Has anyone else gotten this to work? Here are api docs for more details:
http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html
http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html
I am successfully using getListPlatformApplicationsIterator() so I know I have things setup correctly. Also creating platform apps via console is working just fine.
The text was updated successfully, but these errors were encountered: