Problem with API (v.3)

I have a script and it works with version 2 - normal.

But after upgrading to version 3.0 -

Have error

{“result”:“error”,“message”:“An unexpected website was found in the request: website id was set to ‘0’ .”} - Normal - Normal,2&period=day&date=yesterday&segment=browserCode==CH&format=JSON&token_auth=1111111 - Normal

Unfortunately difficult to change the script to determine “idSite=all” as “idSite=1,2,3,4,5”

You may help me?

============Any ideas===============?