Activity Forums Salesforce® Discussions SALESFORCE IDE integaration with ECLIPSE

  • SALESFORCE IDE integaration with ECLIPSE

    Posted by pushpesh Er.Pushpeshbisht on November 29, 2018 at 12:41 pm

    Hello All,

    I am getting following error while running apex any code like we are running trigger by CTRL+F11

    This is my code

    trigger AppleWatch on Opportunity (after insert)
    {
        for(Opportunity opp:Trigger.new)
        {
            Task t = new Task();
            t.Subject =’Apple Watch Promo’;
            t.Description =’Send one ASAP’;
            t.Priority=’High’;
            t.WhatId=opp.Id;
            insert t;
        }
    }

    Following error is received

    [{"message":'The HTTP entity bodu is required,but this request has no entity body.","errorCode":"JSON_PARSER_ERROR"}]

    Thanks
    Pushpesh

    pushpesh Er.Pushpeshbisht replied 5 years, 12 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics