Welcome to Zorro, Magnus!

Looks like this is an error associated with the Oanda API. My first guess would be that the Oanda API requires two digits after the decimal place for prices associated with XAU/USD.

If you got to the web page that the error directs you to, then search for error code 18, I think you will find your answer.