FromAI Not working properly with FromAI Function

I have http request tool which is used by an AI Agent

I have an endpoint like this

https://[subdomain].successfactors.[domain]/odata/v2/FOCostCenter(externalCode=‘4123’,startDate=datetime’1900-01-01T00:00:00’)

I want to create a chatbot to make api call with the user giving the externalCode input, but for some reason when I use fromAI it is not working properly, but when I hard it and make the api request with HTTP Tool it is working fine, here’s my expression

https://[subdomain].successfactors.[domain]/odata/v2/FOCostCenter(externalCode=‘{{ $fromAI(‘externalCode’, ‘externalCode given by the user’) }}’,startDate=datetime’1900-01-01T00:00:00’)

It doesnt not give me any error in the node as well, just says something wrong with node nothing else. It uses SAP SuccessFactors OData API

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I have the same kind of problem, did you end up finding what was wrong ?

1.78.1 Version
Postgresql
default
docker
ubuntu 22.04 LTS

Hi!!! Did you find a solution? Could you share it please?