BeaconGrid / webhook-api-app

1 stars 0 forks source link

I get error: This webhook is not valid, you should add the token to your API and try again later. #2

Closed pdichone closed 7 years ago

pdichone commented 7 years ago

Hi I was able to go through the youtube tutorial on setting up the webhook with node.js. All works fine, however when I go back to the gridscan dashboard, I get the "This webhook is not valid, you should add the token to your API and try again later." error every time.

Any ideas why this is happening?

Thank you.

via-main commented 7 years ago

Attached here is the updated copy of the code with logic to allow the get request to return the list of sighting records that were received via the webhook. nodejs-express.zip

pdichone commented 7 years ago

Thank you @jschrader00 ! It's working. Can't wait for the external API next week.

Thanks again!

via-main commented 7 years ago

@pdichone I'm glad to hear it's working!

You're welcome, have a great weekend! I'll post as soon as the extension to the API is released.

pdichone commented 7 years ago

Quick question - will the new API allow me to also see the surrounding rings/devices that are being picked up by the beacons? ( This maybe already a given functionality, but I just want to make sure).

Can't wait to see the new API live so I can start using it to build the apps :)

Thank you!

via-main commented 7 years ago

(Per our correspondence earlier) The new API method for getting scan data from one or more sensors has been completed and the documentation for this new method is at https://docs.beacongrid.com/#api-Outlet-SacnData

Let me know if you have any further questions we can answer.

pdichone commented 7 years ago

Thanks @jschrader00. I am now going to start going through it. Will ping you if I have any questions.