Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
dejanbgd
Level 7

Object reference not set to an instance of an object

Hi,
If I try to cancel Roku subscription via API endpoint "https://apipub.roku.com/listen/transaction-service.svc/cancel-subscription", I am keep getting this error:Object reference not set to an instance of an object
I've checked all parameters: roku API key, transaction ID and cancellationDate and they are OK (I am using same API key for validation and it works for that endpoint).
Any idea what could be a problem?
0 Kudos
3 Replies
joetesta
Level 10

Re: Object reference not set to an instance of an object

are you doing this from a task node?
aspiring
0 Kudos
dejanbgd
Level 7

Re: Object reference not set to an instance of an object

Sorry, I am not sure that I understand what you mean by "from task node". 
I am sending simple POST request with variables. I get same result if I try with cUrl and PHP or manually using "Postman".
0 Kudos
joetesta
Level 10

Re: Object reference not set to an instance of an object

oh my bad, thought you were trying to do this from within your Roku app.  Sounds like a bug worth contacting Roku about, not sure, sorry  :?
aspiring
0 Kudos