Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Callback URL with a hashbang results in 'is not a valid URL' error

ANSWERED

Under Manage My Apps we provide a Callback URL that needs to contain a hashbang. Unfortunately this results in an error that our url is 'is not a valid URL'.

 

Is there a way to workaround this? Why are hashbangs not allowed?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi pulsar,

 

The bug should be fixed now. Thanks for bringing this to our attention, and apologies for the delay!

 

-Shane 

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Please check out this post.

http://stackoverflow.com/questions/2286402/url-fragment-and-302-redirects

 

The workaround I'd say - not to use hashbangs:). Use url that does not have hashbangs and once Fitbit forwards user to your server you can try to write custom code that will be doing redirect to the url with hash tag that you need. 

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Thank you for the bug report. We have filed this internally and will fix. I don't have an estimated date when it will be fixed.

 

Unfortunately, the only interim solution is to not use a hashbang in your callback URL.

Best Answer
0 Votes

Hi pulsar,

 

The bug should be fixed now. Thanks for bringing this to our attention, and apologies for the delay!

 

-Shane 

Best Answer
0 Votes