Response Code 400 ChatGPT davinci engine

Dear all,

i am currently working on a little program which tries to summarize a pdf file via chatGPT. However i get this response: GPT-3 request failed with response code: 400.
Do i have to change the URL or maybe increase the number of tokens even though my given prompt is very short?
I have like 200$ remaining credit so that should be fine.


Thank you for any help you can give.