Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, got it working.

    In the plugin options, located at general, there is a option ”
    Empty merge tags – Remove unused merge tags from sent values”. As merge tags also use “{” and “}” I suspect any JSON object inside the outer JSON will be removed because it is considered to be an empty merge tag.

    Disable the Option and the JSON should be send fine.

    Hi,

    I have the same Problem with the plugin.
    Also the following valid JSON does not work:

    
    {
       "embeds": [
          {
             "title":"User Email",
             "description":"{user_email}"
          }
       ]
    }
    

    On sending the notification this results in the following JSON content (from debugging page):

    
    {
      "embeds": 
    }
    

    As this is no valid JSON the receiving server responds with HTTP Status Code 400 (Bad Request). Nevertheless, the plugin seems to think everything went well as there is no entry in the error log.

    • This reply was modified 5 years, 6 months ago by adminwbr.
Viewing 2 replies - 1 through 2 (of 2 total)