{"id":19003302,"date":"2026-08-26T08:07:21","date_gmt":"2026-08-26T08:07:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/not-working-for-gpt5\/"},"modified":"2026-08-26T08:07:21","modified_gmt":"2026-08-26T08:07:21","slug":"not-working-for-gpt5","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/not-working-for-gpt5\/","title":{"rendered":"not working for gpt5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">OpenAI API error: { &#8220;error&#8221;: { &#8220;message&#8221;: &#8220;Unsupported parameter: &#8216;max_tokens&#8217; is not supported with this model. Use &#8216;max_completion_tokens&#8217; instead.&#8221;, &#8220;type&#8221;: &#8220;invalid_request_error&#8221;, &#8220;param&#8221;: &#8220;max_tokens&#8221;, &#8220;code&#8221;: &#8220;unsupported_parameter&#8221; } }<\/p>\n","protected":false},"template":"","class_list":["post-19003302","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003302\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19003302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}