• Stephen Judd - Dev
  • NEWBIE
  • 10 Points
  • Member since 2015


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
In the Trailhead Apex Web Services Unit, my class has 100% test coverage and using the Workbench: REST Explorer, responds correctly to existing accounts with or without associated contacts. If an invalid Id is passed in, I return an empty account.

However, when I Check the challenge, I get "System.ListException: List index out of bounds: 0" problem in response. I'm not sure what's wrong - any pointers?
In the Trailhead Apex Web Services Unit, my class has 100% test coverage and using the Workbench: REST Explorer, responds correctly to existing accounts with or without associated contacts. If an invalid Id is passed in, I return an empty account.

However, when I Check the challenge, I get "System.ListException: List index out of bounds: 0" problem in response. I'm not sure what's wrong - any pointers?
In the Trailhead Apex Web Services Unit, my class has 100% test coverage and using the Workbench: REST Explorer, responds correctly to existing accounts with or without associated contacts. If an invalid Id is passed in, I return an empty account.

However, when I Check the challenge, I get "System.ListException: List index out of bounds: 0" problem in response. I'm not sure what's wrong - any pointers?