Extension
https://www.raycast.com/leomelzer/clockodo
Raycast Version
0.60.1.0
OS Version
Tahoe 26.4.1 arm64
Description
Error: External application header "Raycast Clockodo;XXX" is longer than 50 characters (was 53). Please use a shorter name.
set config:api.ts:190:14
187: const externalApplication = ${name};${email};
188:
189: if (externalApplication.length > EXTERNAL_APPLICATION_HEADER_MAX_LENGTH) {
190: throw new Error(
^
191: External application header "${externalApplication}" is longer than ${EXTERNAL_APPLICATION_HEADER_MAX_LENGTH} characters (was ${externalApplication.length}). Please use a shorter name.,
192: );
193: }
194:
JavaScript Stack
set config:api.ts:190:14
Kn:start-clock.js:25:7613
Jn:start-clock.js:25:12897
Object.:start-clock.js:25:27538
Steps To Reproduce
- Install the Clockodo extension from the Raycast Store.
- In
Settings → Extensions → Clockodo, enter:
- Account Email: any email address that is 34 characters or longer (e.g.
firstname.lastname@longer-company.com)
- API Token: a valid Clockodo API token
- Run the
Start Clock command (or any other command that calls the Clockodo API).
- Observe the error toast.
Current Behaviour
The command fails immediately with this error:
External application header "Raycast Clockodo;<my-email>" is longer than 50 characters (was 53). Please use a shorter name.
Root cause: src/clockodo.ts hardcodes client.name = "Raycast Clockodo" (16 chars). The clockodo SDK builds the X-Clockodo-External-Application header as ${name};${email}, which the Clockodo API rejects when it exceeds 50 characters. With the literal "Raycast Clockodo" + a semicolon (17 chars combined), only emails ≤ 33 characters work today.
Every command that talks to the Clockodo API (Start Clock, Stop Clock, Get Recent Entries, Week Overview, etc.) is unusable for users with longer email addresses.
Environment: Raycast 2.0 beta (macOS), latest store version of the Clockodo extension.
Expected Behaviour
The extension should work for users with any valid email length.
Suggested fix in extensions/clockodo/src/clockodo.ts (line 8):
diff
client: {
- name: "Raycast Clockodo",
+ name: "Raycast",
email: preferences.accountEmail,
},
"Raycast" (7 chars) leaves 42 characters for the email, which fits the SDK's 50-character limit comfortably for all realistic emails.
Extension
https://www.raycast.com/leomelzer/clockodo
Raycast Version
0.60.1.0
OS Version
Tahoe 26.4.1 arm64
Description
Error: External application header "Raycast Clockodo;XXX" is longer than 50 characters (was 53). Please use a shorter name.
set config:api.ts:190:14
187: const externalApplication =
${name};${email};188:
189: if (externalApplication.length > EXTERNAL_APPLICATION_HEADER_MAX_LENGTH) {
190: throw new Error(
^
191:
External application header "${externalApplication}" is longer than ${EXTERNAL_APPLICATION_HEADER_MAX_LENGTH} characters (was ${externalApplication.length}). Please use a shorter name.,192: );
193: }
194:
JavaScript Stack
set config:api.ts:190:14
Kn:start-clock.js:25:7613
Jn:start-clock.js:25:12897
Object.:start-clock.js:25:27538
Steps To Reproduce
Settings → Extensions → Clockodo, enter:firstname.lastname@longer-company.com)Start Clockcommand (or any other command that calls the Clockodo API).Current Behaviour
The command fails immediately with this error:
External application header "Raycast Clockodo;<my-email>" is longer than 50 characters (was 53). Please use a shorter name.Root cause:
src/clockodo.tshardcodesclient.name = "Raycast Clockodo"(16 chars). TheclockodoSDK builds theX-Clockodo-External-Applicationheader as${name};${email}, which the Clockodo API rejects when it exceeds 50 characters. With the literal"Raycast Clockodo"+ a semicolon (17 chars combined), only emails ≤ 33 characters work today.Every command that talks to the Clockodo API (
Start Clock,Stop Clock,Get Recent Entries,Week Overview, etc.) is unusable for users with longer email addresses.Environment: Raycast 2.0 beta (macOS), latest store version of the Clockodo extension.
Expected Behaviour
The extension should work for users with any valid email length.
Suggested fix in
extensions/clockodo/src/clockodo.ts(line 8):"Raycast" (7 chars) leaves 42 characters for the email, which fits the SDK's 50-character limit comfortably for all realistic emails.