Ruby on Rails Sunday, February 10, 2019

I see your URL is missing a double quote at the beginning. 

Try using jsonlint.com

On Mon, Feb 11, 2019 at 4:42 AM David Merrick <merrickdav@gmail.com> wrote:
Why I am getting this Error This policy contains invalid Json?

{
  "Version":"2019-02-11",
  "Id":"http referer policy example",
  "Statement":[
    {
      "Sid":"Allow get requests originating from www.example.com and example.com.",
      "Effect":"Allow",
      "Principal":"*",
      "Action":["s3:PutObject","s3:GetObject"],
      "Resource":"arn:aws:s3:::pininterest/*",
      "Condition":{
        "StringLike":{"aws:Referer":[https://young-fortress-50796.herokuapp.com/*"]}
      }
    }
  ]
}

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/eea4c749-44ee-4dfc-9bd4-4d04c5a46018%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANt%2BEVHc6DC_pbeFt6BZx_B_kYXhXuJBCsB3qox0wR3%2BQqVZsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment