Forum Discussion
[Bug] HTTP response code is 200 when it should be 413
Hi,
It is a bit sensitive so I won't be able to share the payload. Also, there isn't anything special about the schema as well as the populated version of it does contain private information. That said, the entire JSON payload i.e. the populated schema (which I would POST to the incoming webhook) is ~250 bytes (calculated using sys.getsizeof() in python3.7) which I was able to capture in a debugger session using PyCharm (uses pydev)
Does that help?.
So you are getting this error messages for 250 byte size of payload. That is strange.
I am not able to reproduced this with large size of JSON data. I am discussing this with internal team and will get back to you.
- AvineshwarTexasApr 21, 2020Copper Contributor
So, I just want to reiterate that the problem isn't about the size of the payload. Actually that payload which I am trying to send is ridiculous and should be rejected by the upstream. The problem is in the way API responds to it.
Btw, it is the following type:
"@type": "MessageCard"
- subhasish-MSFTApr 24, 2020Iron Contributor
AvineshwarTexas ,
I have tried sending a message card type payload, but I am not able to reproduce the same. So please provide a sample card json which we can try out at our end.