#66 — [Bug]: Wrong access_token for POST /integrations
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: Unassigned
Created: 2024-10-15 · Updated: 2025-03-11
Description
Steps to reproduce
To reproduce:
- In staging login under any user and try to create new integration.
What was the expected behavior?
Integration is created.
Screenshots
It fails with
In Facade’s log there is
ValueError: Failed to create integration '{'source_type': 'Oracle NetSuite', 'mediator_type': 'Rutter', 'start_job_type': 'reload', 'name': 'Oracle NetSuite', 'link_url': 'hardCoded'}' for tenant 'aleksandr0' on BusinessData service via 'http://ca-stg-businessdata-eastus/api/v1/tenants/aleksandr0/integrations': {"detail":[{"type":"string_too_short","loc":["body","access_token"],"msg":"String should have at least 36 characters","input":"hardCoded","ctx":{"min_length":36}}]}
i.e. “access_token” field value is not 36 characters long as expected.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets