Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request size limit #80

Open
cdaguerre opened this issue Jun 27, 2016 · 2 comments
Open

Request size limit #80

cdaguerre opened this issue Jun 27, 2016 · 2 comments

Comments

@cdaguerre
Copy link
Member

What is the maximum request size authorized by the textmaster servers?
We ran into an issue where the api silently fails when the request size is too big. (empty response).
We implemented this as a quick workaround (basically saving a maximum of 100 documents at a time) : https://github.com/worldia/textmaster-api/blob/master/lib/Textmaster/Model/Project.php#L255
/cc @aponsin

@aponsin
Copy link

aponsin commented Jun 27, 2016

There is no preset of maximum request size. However I am surprise, the API should never silently fail.
What API endpoint are you referring to exactly ?

@cdaguerre
Copy link
Member Author

It might have been an uncaught error which would be fixed by @jmleroux's PR (#77) but either no documents were created at all, or only part of them were created when launching documents through clients/projects/'{projectId}/batch/documents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants