I get this error very recently
openai.BadRequestError: Error code: 400 - {'error': {'message': 'Failed to generate output due to special tokens in the input.', 'type': 'invalid_request_error', 'param': None, 'code': None}}
This is a bummer because I cannot control the input! Why would I need to worry about the characters when you could tokenize anything even if that is a special character.
Furthermore, it would be helpful to get a better error message. What special character caused the issue here?
This is only a new error, was working fine few days ago