Open steven-cd opened 2 years ago
A version using option 2, compression, has now been released, which should prevent this error in most cases. The last option is probably still the best however, and supports #44, so I'm going to leave this open until that is implemented.
If a user attempts to submit a simulation through the API with a large
config
value, the request to the/repos/${repoOwner}/${repoName}/dispatches
endpoint results in a422 Unprocessable Entity
, with the message"client_payload is too large."
. The limit for the payload doesn't seem to be documented, but others suggest it's around ~70kB.I can see three options here: