'NoneType' object has no attribute 'get'

What does this mean in the context of a trivial one line Action like this?:
return {“wiretest/local”: [“https://picsum.photos/seed/wiretest/512/512”\]}

1 Like

Hey @kenlyle Can you clarify the intent of this Action?

A) Call an external webhook (e.g., Make) and return its result, or B) pass values to another Pickaxe Action?

The line return {"wiretest/local"} won’t work because it returns a set (and has smart quotes).

  • If A (webhook): use requests.post(webhook_url, json=payload) and return a JSON-serializable dict, e.g. { "status": "ok", "data": ... }.

  • If B (connected action): return a dict whose keys match the next step’s input names, e.g. { "path": "wiretest/local" }.

Could you share (1) the Action code, (2) the next step’s input field names, and (3) the exact error/log you see?

-Ned

p.s. the image you uploaded doesn’t open. Try uploading again. Thx

The intent is the simplest possible best of the apparent platform issue Subject: URGENT: Custom Action overridden by default Replicate Action in new Pickaxe (hard_smoke true still triggers Replicate build) — P0 where the platform seems to run the public Replicate action when not asked.

The petty issues like quote types are exactly why I asked for Python linting.

The image to be generated, just as a placeholder- the URL I uploaded had picked up a trailing quote, resolved to
https://fastly.picsum.photos/id/139/512/512.jpg