Using SC.get('/resolve') returns an error on Firefox
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start at the SC.get and SC.resolve entry points, comparing their request options and the status-code mapping described in the report. Reproduce SC.get('/resolve', {url: foo}) in Firefox and observe the initial OPTIONS request. Done means the /resolve call completes without the reported promise error.
Written by the indexing model from the issue text.
Description
(Javascript SDK)
When using SC.get('/resolve', {url: foo}) on FIrefox, a first OPTIONS request is sent which causes the initial call to '/resolve' to return an error in the promise.
A workaround I found was to use SC.resolve(URL) directly, which sets _status_code_map: { 302: 200 } in the request's options.
Maybe this option should be there by default on the SC.get() method as well?

- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Application closed Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
soundcloud/soundcloud-javascript#88 · 3 reactions ·
All issues in soundcloud/soundcloud-javascript
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100