Webhook Error - { reason: 'InvalidProviderToken' }
sdntechforum
FREEOP

2 months ago

Hi Folks,

I want to use RailwayApp webhok to relay the alerts from my server to iOS iphone App. My App is in testflight and I have registered the device to railwayapp.

When I trigger the alert from portal it is recieved properly on RailwayApp but then when it tries to send it to registered devices, it fails with error - { reason: 'InvalidProviderToken' }

I have all the env variable created properly, Could not think of anything I am missing here. Appreciate some help!

$10 Bounty

1 Replies

Anonymous
HOBBY

2 months ago

what railwayapp? the 3rd party one?

whats the testflight link?

so even though your TF, it uses production APNs

If the webhook sends to the test endpoint fine, it then could be the prod APNs rejecting auth sent

from apples docs
Ensure the push sender uses production APNs (api.push.apple.com) for TestFlight builds.

Ensure the device tokens being used are production tokens (tokens differ between sandbox and production).


Loading...