ShipStation Help

Kelly Burgess kellyb at
Wed Feb 24 02:59:08 UTC 2021

Dang, another mistake, should have switched chartoutf8() to utf8tochar()...

   Calculate authstring as utf8tochar(bintobase64(con(API_KEY,':',API_Secret)))


> On Feb 23, 2021, at 7:48 PM, Kelly Burgess <kellyb at> wrote:
> Hi Paul,
>>> Calculate authstring as bintobase64(chartoutf8(con(API_KEY,':',API_Secret)))
>> When trying this I get an error ‘Attempt to assign binary to character'
> Sorry, my bad, I thought bintobase64 returned a character value.  I had also missed the tooltip for that function, which says the argument can be character or binary, and I thought it had to be binary.  It says if you pass a character value, Studio will do the utf-8 conversion automatically before encoding.
> So to rephrase it correctly -
> Calculate authstring as chartoutf8(bintobase64(con(API_KEY,':',API_Secret)))
> I see you found an OXML function for base64, which does return a character value, so whatever works...
> Kelly

More information about the omnisdev-en mailing list