"input length and max_tokens exceed context limit" Error Occurs When Executing AI Prompt

When executing AI prompt, the following error may occur:

400 {“type”:“error”,“error”:{“type”:“invalid_request_error”,“message”:"input length and max_tokens exceed context limit: 198191 + 8192 > 200000, decrease input length or max_tokens and try

This error occurs when the token volume on the input token side is excessive during AI prompt execution.

If you have many columns, please remove unnecessary columns, or if the sample size row count is set to 200, try reducing the number of rows.