Hi guys

When posting to the API endpoint "/createMessage" the message goes through perfectly and is received BUT the response always comes back with a warning "Remote page is not allowed" which is obviously to do with the remote_page parameter.

{"status_code":200,"status_message":"OK","response":{"Messages":["xxxxxxx"],"Warnings":["Remote page is not allowed"]}}

This is the json I am sending

            var obj = new
            {
                request = new
                {
                    application = "xxxxxx",
                    auth = "xxxxxx",
                    notifications = new[] {new
                    {
                        send_date = "now",
                        ignore_user_timezone = true,
                        content = "Hello this is a test,
                        remote_page = "http://google.com",
                        devices = new string[] {
                          "xxxxxx"
                        }
                    }}
                }
            };

Does anyone know what the issue could be and why we can't use remote_page

Thanks in advance!

asked 07 Oct '15, 16:39
erez's gravatar image

erez
213

Hi, most probably it is not a part of your subscription plan.

permanent link
answered 19 Oct '15, 21:37
shader's gravatar image

shader
3.9k7

Thank you - that was the problem!

permanent link
answered 27 Oct '15, 10:30
erez's gravatar image

erez
213

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×120
×52
×10

question asked: 07 Oct '15, 16:39

question was seen: 896 times

last updated: 27 Oct '15, 10:30