Updated a test line and failed API calls still return a map instead of nil.