I am trying to reduce the length of the text that I have requested from
the API with the 'slice' method. but it is throwing an error of
'Cannot read property 'slice' of undefined.
I am trying to reduce the length of the text that I have requested from
the API with the 'slice' method. but it is throwing an error of
'Cannot read property 'slice' of undefined.