Skip to content

Help wanted - YOURLS import error 26 #170

Discussion options

You must be logged in to vote

This error basically means your YOURLS instance is erroring out, so you should see their logs to get more details.

In any case, the problem is very likely the 518646 short URLs. YOURLs does not expose an API, so I created a plugin to allow importing URLs from it https://github.com/acelaya/yourls-shlink-import-plugin

Sadly, this plugin has a limitation, which is that it tries to load all links at once, with no pagination, so that is very likely a problem with so many links.

If you want to give it a go at supporting pagination, it would require changing this code https://github.com/acelaya/yourls-shlink-import-plugin/blob/420fdd9/plugin.php#L14-L21, to read pagination query params. Then the…

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@acelaya
Comment options

Answer selected by acelaya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants