For years PHP script was sending JSON data to an API written in PHP. Everything was fine. Now every now and then (1 in 1k requests) JSON is prepended with "P/2.0 SM" and some not UTF-8 encoded data. Look at the picture. Any ideas what can cause this? https://t.co/bR6wXztn8Z 2 atbildes

E
(2020-06-11 18:14:47)
@twitter
For years PHP script was sending JSON data to an API written in PHP. Everything was fine. Now every now and then (1 in 1k requests) JSON is prepended with "P/2.0 SM" and some not UTF-8 encoded data. Look at the picture. Any ideas what can cause this? https://t.co/bR6wXztn8Z
E
(2020-06-11 18:16:05)
@twitter
JSON sometimes is full, sometimes beginning of it is cut of. When its cut of, beginning is cut of. Ending is always there.
E
(2020-06-11 18:18:16)
@twitter
Forgot to mention that this data is written to file on an API side by serializing contents of 'php://input'.

© 2009-2017 civciv ;)