Can These Errors be Suppressed?

In an XData web core app I'm getting some odd errors. They don't seem to make any difference to the actual running. I've tried different castings to no avail.

var
jsUser: TJSObject;
begin
jsUser := TJSObject(Response.ResultAsObject)['result'];

gives a "E2149 Class does not have a default property"

procedure TfrmMain.DoLogin(username, password: String);
var
Token: String;

procedure OnResponse(Response: TXDataClientResponse);
begin
end;

procedure OnError(Response: TXDataClientError);
begin
end;

begin
XDataWebClient1.RawInvoke('IMyService.Login', [username, password, Token], @OnResponse, @OnError);
end;

gives a "E2250 There is no overloaded version of "RawInvoke" that can be called with these arguments" error

I'm using the latest version of all products. Running on Delphi 11.

Do I just have to ignore these or is there some way around them?

Thanks

I assume there is no way of preventing these?

Dear Mark,

Those are code insight errors, indeed you can ignore then, the actual compilation should work just fine.