Custom fields not working

Hi

I have strange issue. I have few CF in RT. When opening ticket via API everything is set, only CF are not set.

My POST looks like this:

16:55:15.132156 IP 172.31.253.3.61232 > 172.31.1.120.http: Flags [P.], seq 1803960293:1803960824, ack 2612508648, win 512, length 531: HTTP: POST /rt/REST/1.0/ticket/new?user=test&pass=1231234 HTTP/1.1
E…;…@…x.0.Pk.?..P…}1…POST /rt/REST/1.0/ticket/new?user=test&pass=1231234 HTTP/1.1
Host: 172.31.1.120
User-Agent: insomnia/2021.5.1
Cookie: RT_SID_rt.debian.80=3a25e2362b89472c227b65fc22dcaa58
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
Accept: /
Content-Length: 247

content=id: ticket/new
Queue: test
Priority: 1
Requestor: tst@test.si
Subject: Spanish Testing ticket id - CircuitID: FCZ211540YY
Text: SpanishTesting ticket id
CF-TelefonicaID: INC000003059840
CF-CircuitID: FCZ211540YY
CF-Test: qwasdsa

image

What could be an issue. I send this in POST like CF-Name_of_CF. I know this was working, what could be an issue now?

thank you
miha

What if you do a GET request? This works for me:

curl --location --request GET 'https://MyRT/REST/1.0/ticket/new?user=root&pass=password&content=Requestor: me@example.com
Queue: general
Subject: Test
Status: new
CF-Category: Some category' \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Basic cm9vdDpwYXNzd29yZA=='

Also you can try the REST2 endpoint for a more modern REST interface!

If I do this as you told me with you data (i have also tried with my) i get:

curl: (3) Illegal characters found in URL

it was issue with permision on CF