Forum Discussion

Yulia-Anaplan's avatar
4 years ago

Community Events Subscription

Hi,

I am trying to create a community event subscription to do something when the message is created, following this documentation

My url format is:
https://community.domain/restapi/vc/events/subscriptions/events/name/MessageCreate/subscribe?restapi.session_key=123456789&callback_url=http://catdog.mycompany.com/doSomething

I am getting: 

<response status="error">
<error code="504">
<message> Method 'get' is not supported off of node 'event_subscription_manager.subscriptions.events.name.Param0.subscribe'. </message>
</error>
</response>

 

1. The community has event subscription checkbox checked.
2. My user has REST API calls with modify access and able to subscribe and be notified of application events
 
What could this error be?

Thank you,
Yulia

  • Yulia-Anaplan, This is post call, so if you want to make the subscription you need to call it using a post call method, and this cannot be run directly from browser as this returns as Get method.

  • Yulia-Anaplan, This is post call, so if you want to make the subscription you need to call it using a post call method, and this cannot be run directly from browser as this returns as Get method.