You attempted a realtime operation on a Call that was not in-progress. Calls that have completed cannot be recorded or redirected.
We all do sometimes; code is hard. Get help now from our
support team, or lean on
the wisdom of the crowd browsing the
Twilio tag on Stack Overflow.