Jump to content

URL Accordion — Shorten and expand URLs


Recommended Posts

When reporting issues, please include your exact installed versions of:

  • The Workflow.
  • Alfred.
  • macOS.

In addition to:

  • The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
  • Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.

Thank you. Accurate and thorough information is crucial for a proper diagnosis which allows me to help you better.

Link to comment
  • 1 month later...

Good morning - 

 

Just installed URL accordion but giving me an error when used: "error, database insert failed"

 

I ran it from the alfred window using "shorturl" and then pasted the URL (which was a long amazon link).

 

Thanks in advance for any help. I'm sure I just am missing something setup-wise that I should have done?

 

Running Workflow v 2023.1 on Alfred v 5.1.4 [2195], MacOS Ventura 13.6.3

 

Debug:

 

[08:45:50.715] Logging Started...

[08:46:21.416] URL Accordion[Keyword] Processing complete

[08:46:21.424] URL Accordion[Keyword] Passing output 'https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1' to Junction

[08:46:21.426] URL Accordion[Junction] Processing complete

[08:46:21.427] URL Accordion[Junction] Passing output 'https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1' to Arg and Vars

[08:46:21.428] URL Accordion[Arg and Vars] Processing complete

[08:46:21.430] URL Accordion[Arg and Vars] Passing output 'https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1' to Conditional

[08:46:21.431] URL Accordion[Conditional] Processing complete

[08:46:21.432] URL Accordion[Conditional] Passing output 'https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1' to JSON Config

[08:46:21.433] URL Accordion[JSON Config] Processing complete

[08:46:21.434] URL Accordion[JSON Config] Passing output 'https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1' to Automation Task

[08:46:21.436] URL Accordion[Automation Task] Running task 'Shorten URL' with arguments (

    "https://www.amazon.com/Pro-Ultra-Self-Washing-Self-Refilling-Self-Emptying/dp/B0BVB5PTDK/?_encoding=UTF8&pd_rd_w=YXjOj&content-id=amzn1.sym.35cab78c-35e3-4fc1-aab0-27eaa6c86063%3Aamzn1.symc.e5c80209-769f-4ade-a325-2eaec14b8e0e&pf_rd_p=35cab78c-35e3-4fc1-aab0-27eaa6c86063&pf_rd_r=877EPS3Y6RAP6AJVD93V&pd_rd_wg=v2tyZ&pd_rd_r=63633f46-4014-4ce1-9d85-663fd6a31293&ref_=pd_gw_ci_mcx_mr_hp_atf_m&th=1"

)

[08:46:21.620] URL Accordion[Automation Task] Processing complete

[08:46:21.630] URL Accordion[Automation Task] Passing output '(

    "Error, database insert failed"

)' to Conditional

[08:46:21.632] URL Accordion[Conditional] Processing complete

[08:46:21.633] URL Accordion[Conditional] Passing output '(

    "Error, database insert failed"

)' to Copy to Clipboard

[08:46:21.635] URL Accordion[Copy to Clipboard] Processing complete

[08:46:21.636] URL Accordion[Copy to Clipboard] Passing output '(

    "Error, database insert failed"

)' to Post Notification

Link to comment

When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it. I’ve moved your post to the correct thread.


As to the problem in question, if you try it on the website you’ll get the same message. In other words, it seems like they’re experiencing an issue. Please try again later and contact them if the issue persists.

Link to comment
  • 3 months later...
  • The Workflow : URL Accordion 2024.1
  • Alfred 5.5
  • macOS 14.

 

Hello, 

I have an issue while shortening urls, wether I use shorturl or longurl and paste, I have this next to the shortened url. Am I missing something ? 

 

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.</p>
</body></html>
https://is.gd/jGamH3

 

Thank you

Link to comment

Welcome @Offkinz,

 

I can’t reproduce. Please provide the requested information so I can see if there’s a clue on what’s happening on your end:

 

On 12/12/2023 at 6:23 PM, vitor said:

In addition to:

  • The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
  • Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.

 

Link to comment

hello @vitor, thank you for your quick support, 

here is the output

 

[01:17:42.045] Logging Started...
[01:17:48.651] URL Accordion[Keyword] Processing complete
[01:17:48.655] URL Accordion[Keyword] Passing output 'example.com' to Junction
[01:17:48.655] URL Accordion[Junction] Processing complete
[01:17:48.656] URL Accordion[Junction] Passing output 'example.com' to Arg and Vars
[01:17:48.657] URL Accordion[Arg and Vars] Processing complete
[01:17:48.657] URL Accordion[Arg and Vars] Passing output 'example.com' to Conditional
[01:17:48.658] URL Accordion[Conditional] Processing complete
[01:17:48.662] URL Accordion[Conditional] Passing output 'example.com' to JSON Config
[01:17:48.663] URL Accordion[JSON Config] Processing complete
[01:17:48.663] URL Accordion[JSON Config] Passing output 'https://example.com' to Automation Task
[01:17:48.664] URL Accordion[Automation Task] Running task 'Shorten URL' with arguments (
    "https://example.com"
)
[01:17:49.097] URL Accordion[Automation Task] Processing complete
[01:17:49.106] URL Accordion[Automation Task] Passing output '(
    "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>403 Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p>You don't have permission to access /\non this server.</p>\n</body></html>\nhttps://is.gd/jGamH3"
)' to Conditional
[01:17:49.109] URL Accordion[Conditional] Processing complete
[01:17:49.110] URL Accordion[Conditional] Passing output '(
    "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>403 Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p>You don't have permission to access /\non this server.</p>\n</body></html>\nhttps://is.gd/jGamH3"
)' to Copy to Clipboard
[01:17:49.112] URL Accordion[Copy to Clipboard] Processing complete
[01:17:49.113] URL Accordion[Copy to Clipboard] Passing output '(
    "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>403 Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p>You don't have permission to access /\non this server.</p>\n</body></html>\nhttps://is.gd/jGamH3"
)' to Post Notification

 

and the video

 

thanks

Link to comment

Unfortunately, I’m not sure what’s causing it. The 403 error means the server is actively refusing to accept your request, which is something only the service will be able to clarify the reason for. For example, someone else on your network may have used the API to shorten a URL they have on their blocklist and thus they blocked the IP. That could be verified by trying a safe link (such as https://example.com) on another network. But again, that’s speculation, you’d have contact them to know for sure.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...