Create New Project Clockify module and connecting to Airtable

Hi,
I have a scenario that was working so well for many months and now all of the sudden I’ve been thrown the following error: Scenario has encountered an error while being processed. Fix the error or clear the queue. The reason is: [400] JSON parse error: Cannot construct instance of com.clockify.adapter.http.project.EstimateRequest, problem: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader ‘bootstrap’).
The scenario is creating a new project in clockify when a new record in Airtable is made.

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hi samliew. No problem! Attached blueprint of the scenario. Input/output bundles are quite small so I’m pasting them here:

[
    {
        "name": "STR 24-001 - Stryker Hospital Stretcher",
        "type": "AUTO",
        "color": "#ffba13",
        "billable": true,
        "clientId": "6075bf08e1cdf52e05458759",
        "isPublic": true,
        "workspace": "5e210460f3166d2d3dfd03e9"
    }
]
[
    null
]

Any insight would be greatly appreciated. Thank you!

blueprint.json (192.1 KB)

This isn’t as much a Make issue, than it is a Clockify one. Maybe reach out to the Clockify devs first?

Seeing as is that Clockify seems to be a Java project, it’s trivial for the devs to push a data format cast fix. (Don’t take my word for it, have the Clockify devs debug it using the error message you got)

2 Likes

Thank you jay.serquina for your post. I reached out to Clockify support, and waiting to hear back, so I thought I’d take a shot posting the issue here in case someone else ran into the same problem.

1 Like