leedo / leedo/noembed

Error: `Can't use string ("servers") as a HASH ref while "strict refs" in use`

Open
#137 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
496
Forks
91
PR merge metrics
No merged PRs in 30d

Description

I keep hitting this error on most URLs and providers, I thought it was my implementation but it is also present when accessing directly through the browser for example:
https://noembed.com/embed?url=https://soundcloud.com/amenkensetsu/skogskyrkogarden
it also fails on the demo page with the same error message although the example URLs do work.

On youtube in particular it works if the URL has the www. prefix:
works: https://noembed.com/embed?url=https://www.youtube.com/watch?v=tRFOjLIl7G0
fails: https://noembed.com/embed?url=https://youtube.com/watch?v=tRFOjLIl7G0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error using the SoundCloud URL and the YouTube URLs in the issue, including the difference between www.youtube.com and youtube.com. Trace the provider handling that produces the HASH-ref error; done means these URLs and the demo page no longer return the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.