Issue while adding custom HTTP headers for call REST service - Studio pro 10 (beta) on mac - Mendix Forum

Issue while adding custom HTTP headers for call REST service - Studio pro 10 (beta) on mac

2

Hello,

I'm new to Mendix and I'm using Studio pro 10.11.0 (Beta) on Mac.

 

I have an issue with adding a new custom HTTP headers: 'application/json'

The IDE keeps throwing the following error: Expression error(s).

 

Screenshot: As you may notice the red comma at the beginning of the line looks like a backtick. This is because the text editor keeps changing the apostrophe while typing.

 

Thanks in advance for any explanations and suggestions. 

Screenshot 2024-06-10 at 23.07.24.png

Posted
2 comments

Studio does not recognize the non-straight ticks as being a single quote. Make sure the backticks look like this ' instead of `. If need be, copy paste this one into your string-textbox: '

Created

I was able to fix this on mac by holding CTRL while typing the apostrophes. This kept them straight and let the expression work properly. But I'm running into this issue all over the place in the expression wizard with opening and closing characters like this... (), {}, [], etc. and the CTRL combo doesn't work for all of them. I don't know why this is happening.

Created