branch-deep-linking-public-api
branch-deep-linking-public-api copied to clipboard
Error can't set key "type": 2 when create deep link
Hello Branch Team and @aaustin
There are an issue that I just faced during create deep link via rest api "/v1/url". { "error": { "code": 403, "message": "You don't have access to this type. Please try again with type 0 (default) or 1." } }
I've tried to create deep link via rest api and wan to make it available to show in dashboard on Quick Link menu. I've followed this the suggestion from this https://help.branch.io/faq/docs/can-we-see-api-generated-links-on-the-dashboard and it's got success as expected. But just now I can't access the value 2 of key "type" anymore. It showed error as above.
Does anyone use to faced that issue? Please kindly shared your solution. It's my appreciation all all help.
Thanks
Hello @SonChanthem,
Unfortunately we no longer support the creation of Quick Links via the v1/url API effective January 13, 2022. As an alternative, you can still create links via the Quick Link Creator as well as the v1/url API with type not set to 2. Branch is currently exploring options to support the creation Quick Links via the v1/url API.
Sorry for the headache.
Best, Ahmed
Lol no heads up? This change breaks support for a lot of services that we're offering via api deep links. Would be nice to get some notice that API breaking changes will be released so clients can react accordingly.
We sent notifications to all customers who used the API on January the 11th via the Branch Dashboard. Apologies if there was an oversight on our part and missed your app!
We have the same problem where we used to create links via the API using type: 2
to allow us to quickly see their stats on the dashboard on the "Quick Links" page. Using type: 0
(default) no longer allows us to see those stats.
That being said, any other major differences between type 2 and 0? I can't seem to find any documentation explaining how default links differ from marketing links aside from them being viewable via the Quick Links page!
We've just encountered the same problem. We also didn't get any notiications, link creation just suddenly started throwing 403 errors.
Is there any viable solution for this problem available? And what is the actual difference between type 0 and type 2 links? Could you please also explain the reasoning behind not letting create those links via API?
I've tried creating standard links, but the problem I am having with them is that I don't see them in dashboard, what is the point of this API then?