Hi,
I'm working on registering my app for push subscription and when I run the post request outlined here I receive 400 status and this:
{"message": "Bad Request","errors": [{"resource": "PushSubscription","field": "callback url","code": "not verifiable"}]}
I'm able to get 200 status and the required hub.challenge to return if I hit the callback_url from 1) python requests & 2) curl. Then when I run the post (push subscriptions request) either with Python requests or curl, I receive the above error. Checking my server, I do not receive anything from Strava in this. Its like the callback url is blocked before Strava sends anything to it and I get the above error within 1 second, when it should be waiting 2 seconds for a response.
My server is running a flask api with nginx proxying api calls to the flask server. Could this be causing issues?
Does anyone else have any ideas for what I can check out? I'm operating at a .ai domain. Anything I should be aware of there?
Python: