• Aneesha S
  • NEWBIE
  • 0 Points
  • Member since 2015


  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies
Hello Guys,

I am facing some issue validating the challenge for APEX REST Callout trailhead. The code works fine while testing with mock response. Looking at the debug shows that the callout to https://th-apex-http-callout.herokuapp.com/animals/:id is returning just a static response with blank name for any id provided. SF is tying to validate with a random integer id and assert with an actual value. Any suggestions?

 
Hello,

i am am trying to run an auto launched flow from an apex trigger. I have code to invoke flow in an apex class method which is called from a  trigger. However on execution I see that the flow is not launched. I am able to run the flow from process builder just fine. Is there anything that I'm missing?
Hello,

We are working on a REST integration wherein we request for some information from another service. The request is authenticated through CA signed certificate. This is working fine in one of the sandboxes. But when we moved it to another sandbox it is failing. 

Only the root and intermediate certificate is configured at the server end so that server can accept request from multiple sandboxes. I created the certificate from new sandbox, got it signed with CA and started using it to send the request. I get the 400 "Bad request" response. Server is not erceiving the request from new sandbox. Any suggestions on what the issue here is?
Hello,

I am trying to use the Report and Dashboard API to run a report from apex using the mechanism explained here https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_analytics_run_reports.htm

When I try to save this however I am getting the error Error: Compile Error: Invalid type: Reports.ReportInstance. I am unsure why this error is coming up. I have checked the documentation with no help. Is there some setting that needs to be enabled in the org?
Hello Guys,

I am facing some issue validating the challenge for APEX REST Callout trailhead. The code works fine while testing with mock response. Looking at the debug shows that the callout to https://th-apex-http-callout.herokuapp.com/animals/:id is returning just a static response with blank name for any id provided. SF is tying to validate with a random integer id and assert with an actual value. Any suggestions?

 
Hello Guys,

I am facing some issue validating the challenge for APEX REST Callout trailhead. The code works fine while testing with mock response. Looking at the debug shows that the callout to https://th-apex-http-callout.herokuapp.com/animals/:id is returning just a static response with blank name for any id provided. SF is tying to validate with a random integer id and assert with an actual value. Any suggestions?

 
Hello,

i am am trying to run an auto launched flow from an apex trigger. I have code to invoke flow in an apex class method which is called from a  trigger. However on execution I see that the flow is not launched. I am able to run the flow from process builder just fine. Is there anything that I'm missing?
Hello,

I am trying to use the Report and Dashboard API to run a report from apex using the mechanism explained here https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_analytics_run_reports.htm

When I try to save this however I am getting the error Error: Compile Error: Invalid type: Reports.ReportInstance. I am unsure why this error is coming up. I have checked the documentation with no help. Is there some setting that needs to be enabled in the org?