Skip to content

🐞 AI Import from Instagram Fails #411

Description

@Gandalf-the-Blue

What happened?

Hi,
I have Ollama configured running qwen3.5. I am trying to import an Instagram recipe and get this error -

tandoor  | 2026-06-15T08:04:54.998902772Z  - - [15/Jun/2026:09:04:54 +0100] "GET /api/ HTTP/1.0" 200 3083 "https://tandoor.domain.tld" "ktor-client"
tandoor  | 2026-06-15T08:05:01.635019457Z Traceback (most recent call last):
tandoor  | 2026-06-15T08:05:01.635297733Z   File "/opt/recipes/cookbook/views/api.py", line 2820, in post
tandoor  | 2026-06-15T08:05:01.635311371Z     scrape = scrape_html(html=data, org_url='https://urlnotfound.none', supported_only=False)
tandoor  | 2026-06-15T08:05:01.635765423Z /opt/recipes/venv/lib/python3.13/site-packages/django/db/models/fields/__init__.py:1671: RuntimeWarning: DateTimeField AiLog.start_time received a naive datetime (2026-06-15 09:05:01.408241) while time zone support is active.
tandoor  | 2026-06-15T08:05:01.635773193Z   warnings.warn(
tandoor     | 2026-06-15T08:05:01.635784998Z /opt/recipes/venv/lib/python3.13/site-packages/django/db/models/fields/__init__.py:1671: RuntimeWarning: DateTimeField AiLog.end_time received a naive datetime (2026-06-15 09:05:01.632268) while time zone support is active.
tandoor_db  | 2026-05-16T04:19:28.381317519Z 2026-05-16 04:19:28.381 UTC [1] LOG:  starting PostgreSQL 16.13 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
tandoor     | 2026-06-15T08:05:01.635790477Z   warnings.warn(
tandoor     | 2026-06-15T08:05:01.635906710Z   File "/opt/recipes/venv/lib/python3.13/site-packages/recipe_scrapers/__init__.py", line 1288, in scrape_html
tandoor     | 2026-06-15T08:05:01.635911166Z     raise NoSchemaFoundInWildMode(org_url)
tandoor     | 2026-06-15T08:05:01.635927314Z recipe_scrapers._exceptions.NoSchemaFoundInWildMode: recipe-scrapers (15.11.0) exception: No Recipe Schema found at https://urlnotfound.none.
tandoor     | 2026-06-15T08:05:01.637235672Z ThreadPoolExecutor-0_0 WARNING 2026-06-15 09:05:01,637 django.request Bad Request: /api/ai-import/
tandoor_db  | 2026-05-16T04:19:28.381493539Z 2026-05-16 04:19:28.381 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
tandoor     | 2026-06-15T08:05:01.637246849Z WARNING:django.request:Bad Request: /api/ai-import/
tandoor_db  | 2026-05-16T04:19:28.381497130Z 2026-05-16 04:19:28.381 UTC [1] LOG:  listening on IPv6 address "::", port 5432
tandoor     | 2026-06-15T08:05:01.637483767Z  - - [15/Jun/2026:09:05:01 +0100] "POST /api/ai-import/ HTTP/1.0" 400 634 "https://tandoor.domain.tld" "ktor-client"
tandoor     | 2026-06-15T08:05:01.637535545Z 192.168.64.1 - - [15/Jun/2026:09:05:01 +0100] "POST /api/ai-import/ HTTP/1.1" 400 634 "https://tandoor.domain.tld" "ktor-client" "31.171.153.105"

App Version

2.1.1 (20101) iOS

Server Version

2.6.9

Platform(s)

iOS

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions