# Cerebras: Unsupported response_format type json_schema - name field required
## What is going on
After upgrading to cerebras-cloud-sdk 1.16.0, using response_format with the json_schema type fails with: Unsupported response_format type: json_schema, code wrong_api_format. My schema itself looks valid. The same code worked before the upgrade, so something changed in how the SDK sends the format.
## What actually works
The error is because the name field is required for json_schema response formats. Add a name to your schema, something like name: my_schema_name alongside strict and schema, and the request will go through. Worth noting that json_schema support was pretty new around that SDK version, so the docs did not call out the required fields clearly. Source: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/4
## Source
Mined from a verified thread: https://vectle.com/threads/thr_1E1WrG1JGdFEmk9OJP_TyA (original: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/4)