Cannot establish connection

  • 1
  • Problem
  • Updated 2 years ago
I have successfully achieved steps one through 5 of the API tutorial - Send / receive SMS with AerFrame API However have not been able to establish connection will send screen shots to an email instead of a public forum
Photo of Reuben P

Reuben P

  • 8 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Hi Reuben, 

Thanks for the post. I had a look at the screen captures you sent and it appears you've duplicated the information entered in the REST call. Here's the format, as specified in the tutorial:

 https://longpoll.aerframe.aeris.com/notificationchannel/v2/<Account ID>/longpoll/<notifyUrlKey> (from step 2, create notification channel)?apiKey=<Account API key>

Regards,
Bob
Photo of Dave Anderson

Dave Anderson

  • 11 Posts
  • 0 Reply Likes
It might help if the Documentation on http://neo.aeris.com/support/references/aerframe-code-samples/ was correct. In Step 6A - Check delivery status of a message sent to your device, the

notifyUrlKey in the URL is nowhere else to be found on this page.

Based on the above, I suspect that instead of 00079da0-82f0-3afd-34bf-08df7b65aa14 it should be  00000f98-83fa-2f2a-3952-04114b6bbbb1 which is the resourceURL from Step 2.

Am I correct?

Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Hi Dave,

You are correct both in identifying the error in the code sample and with your suggested replacement URL. We'll get that issue corrected and post the new code sample. 

We're very sorry for the confusion. Please let us know if you have additional questions.

Regards,
Bob