Hi everyone, im trying to save a disc to a queue and seem to have some issues when calling the API with a POST.
I get a Bad Request error when i call the api, "/users/<USER ID>/queues/disc" I also tried /users/<USER ID>/queues/disc/<POSITION>/<ID OF TITLE> and "/users/<USER ID>/queues/disc/<ID OF TITLE>"
Here are my parameters, maybe someone can spot where im messing up?
(
[title_ref] => The Hunt for Red October
[position] => 1
[oauth_consumer_key] => <MY APP KEY>
[oauth_nonce] => 12269028471231984576349056
[oauth_signature] => <SOME SIG>
[oauth_signature_method] => PLAINTEXT
[oauth_timestamp] => 1226902847
[oauth_version] => 1.0
[oauth_token] => <ACCESS TOKEN>
)
Thanks been trying t determine what im doing wrong for the last few hours. im sure its something dumb in my part.
Armando Padilla
Armando, it looks like you need to pass the full URL of a title (e.g. a movie, TV series season, etc.), as returned by other API resources such as catalog/titles (search). There is usually a helpful text message passed with the error that can point you in the right direction.
Hi everyone, im trying to save a disc to a queue and seem to have some issues when calling the API with a POST.
I get a Bad Request error when i call the api, "/users/<USER ID>/queues/disc" I also tried /users/<USER ID>/queues/disc/<POSITION>/<ID OF TITLE> and "/users/<USER ID>/queues/disc/<ID OF TITLE>"
Here are my parameters, maybe someone can spot where im messing up?
(
[title_ref] => The Hunt for Red October
[position] => 1
[oauth_consumer_key] => <MY APP KEY>
[oauth_nonce] => 12269028471231984576349056
[oauth_signature] => <SOME SIG>
[oauth_signature_method] => PLAINTEXT
[oauth_timestamp] => 1226902847
[oauth_version] => 1.0
[oauth_token] => <ACCESS TOKEN>
)
Thanks been trying t determine what im doing wrong for the last few hours. im sure its something dumb in my part.
Armando Padilla
Message edited by Armando Padilla 3 years ago
Michael Hart – 3 years ago
Armando, it looks like you need to pass the full URL of a title (e.g. a movie, TV series season, etc.), as returned by other API resources such as catalog/titles (search). There is usually a helpful text message passed with the error that can point you in the right direction.
Armando Padilla – 3 years ago
Hey Michael, Thanks that worked perfectly.