Clarifying error for too big files
July 18th, 2018 by Aleksej Ruckoj
PandaDoc API allows creating documents from PDF.
There is 50 MB limit on file attachment size.
Now API returns a specific error in case of bigger files - HTTP status "413 Request entity too large".
JSON response example:
{
"type": "request_error",
"detail": "Attached file is too big. Maximum file size is 50 MB"
}