1

error 1

Тема: error 1

Hello,
i try to execute this command :

https://hst-api.wialon.com/wialon/ajax.html?svc=core/search_items&params={"spec":{"itemsType":"user","propName":"sys_name","propValueMask":"*","sortType":"sys_name"},"force":1,"flags":1,"from":0,"to":0}&sid="09d193bcf57b5edz3553e39ca375452b70"

But display always the same error  {"error":1}. (Note any command show me this response)

like this exemple :

2

error 1

Re: error 1

iheb.balti пишет:

Hello,
i try to execute this command :

https://hst-api.wialon.com/wialon/ajax.html?svc=core/search_items&params={"spec":{"itemsType":"user","propName":"sys_name","propValueMask":"*","sortType":"sys_name"},"force":1,"flags":1,"from":0,"to":0}&sid="09d193bcf57b5edz3553e39ca375452b70"

But display always the same error  {"error":1}. (Note any command show me this response)

like this exemple :

Good afternoon!

{error: 1} means invalid session in "sid" parameter, i.e. this session id died. How did you get session id in your request?

3

error 1

Re: error 1

i get sid from session storage like the attached file show it, and this is my request :

https://hst-api.wialon.com/wialon/ajax.html?svc=core/search_items&params={"spec":{"itemsType":"user","propName":"sys_name","propValueMask":"*","sortType":"sys_name"},"force":1,"flags":1,"from":0,"to":0}&sid="09d193bcf57b523553e39ca375452b70"

Note that when I use the sid, I receive the same error (error 1 : invalid session)

4

error 1

Re: error 1

iheb.balti пишет:

&sid="09d193bcf57b523553e39ca375452b70"

No need to wrap sid into quotes.