Error with & in search criteria

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
k_zeon
Posts: 17
Joined: Mon Nov 23, 2015 1:17 pm

Error with & in search criteria

Postby k_zeon » Sun Jan 14, 2018 7:05 am

When searching for Law & Order i get error

{
"Error": "Requires only one of name, imdbId, zap2itId params"
}

If i take out the & it works fine or if i replace the & with 'and'

Is this supposed to happen or do i need to encode the & somehow.

tks

k_zeon
Posts: 17
Joined: Mon Nov 23, 2015 1:17 pm

Re: Error with & in search criteria

Postby k_zeon » Sun Jan 14, 2018 8:50 am

OK, have now url encoded search text and works fine.