-
Notifications
You must be signed in to change notification settings - Fork 137
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
API error: Invalid format. data.request.POST string value found, but a object is required. #197
Comments
The only way I can see how this could be possible looking at the way the post data is set is that if something goes wrong in one of the transforms, probably the Let me look into the transforms to see where they could break down. |
From what I can tell, it happens during the |
We have the same issue and my co-worker will provide more details shortly. This appears to be a recent regression. |
What we've seen is that passing a dict with greater than 10 keys in the request.POST data, the 11th key and forward are truncated with a
Fails whereas
Succeeds. |
I am very strongly suspecting #176 |
@rokob hmm, maybe? I don't think I changed anything involving mapping types though. The only real interesting line in that PR is https://github.com/rollbar/pyrollbar/pull/176/files#diff-6022e85ab93e5271b24f7f04696aa09aR58 |
@ezarowny If the issue was present before, then this line certainly "activated" it for us: https://github.com/rollbar/pyrollbar/pull/176/files#diff-1fcbac3a897889dbaf8984fdfe14c99cR316 |
Yeah, it's likely that your dict objects just weren't getting shortened in the old version. Good find guys. |
Getting this error on the rollbar side whenever an error is generated in my Django app. Have successfully sent a test error, and a couple of the errors do come through, but a majority of them give the error in the title. Installed with the middleware per the instructions on Django 1.9.13. Let me know what other information would be useful in debugging this.
The text was updated successfully, but these errors were encountered: