400 Error: "Expected an ID that begins with 'assistant'."

I get that error response when trying to upload a pdf file for processing, along the files of the example here: File inputs | OpenAI API .
Using responses/v1 through Azure OpenAI.