We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unexpected errors publishing a provider get suppressed.
Here: https://github.com/outsideris/citizen/blob/master/lib/provider/provider.js#L61
I added
verbose(response.body)
To try to figure out why I'm getting:
RequestError Unexpected token < in JSON at position 0
It turns out my problem was actually:
citizen:client <html> citizen:client <head><title>413 Request Entity Too Large</title></head> citizen:client <body bgcolor="white"> citizen:client <center><h1>413 Request Entity Too Large</h1></center> citizen:client <hr><center>nginx/1.13.5</center> citizen:client </body> citizen:client </html> citizen:client +0ms
My nginx config isn't allowing large uploads.
I think verbose logging the error return could help with debugging.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Unexpected errors publishing a provider get suppressed.
Here:
https://github.com/outsideris/citizen/blob/master/lib/provider/provider.js#L61
I added
To try to figure out why I'm getting:
It turns out my problem was actually:
My nginx config isn't allowing large uploads.
I think verbose logging the error return could help with debugging.
The text was updated successfully, but these errors were encountered: