When trying to render the response from an API call, I\'m repeatedly getting "cannot set headers after they\'re sent to the client".I figured that this might have been