POST Request Throwing 400 Error due to Size of Request

Database & APIs
Resolved

Hello!

I am working on an application that requires me to send ChatGPT queries with large amounts of text. I am being bottlenecked by the character limit of the POST request that I am sending.

When my Input is too large, it throws a 400. I've verified that the cause is due to a character limit being hit by peeling back the amount of text that I am sending my API.

I am not sure if this is happening because of Flutter Flow (perhaps something to due with proxy or the test mode) or if a broader limit is being applied.

Any suggestions to work around an issue like this?

What have you tried so far?

Only thing that's worked is shortening my input. It can handle a reasonable amount, but I'd like to be able to take the output and feed it back into the query. This is not feasible because the output is substantially larger than the input.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
1 reply