#domhacking

1 messages ยท Page 1 of 1 (latest)

trim hawkBOT
wanton crag
trim cradle
#

Ok, I am currently getting this error:

"You passed an empty string for 'register_to_location'. We assume empty values are an attempt to unset a parameter; however 'register_to_location' cannot be unset. You should remove 'register_to_location' from your request or supply a non-empty value."

#

Do you know what could be causing that?

wanton crag
#

Ah hmm, it looks like even though we haven't marked it as required we do expect a non-empty value
The SDK must be setting it as an empty string by default.

trim cradle
#

So do you think that is required then?

#

๐Ÿ™‚

wanton crag
#

Yup, looks like it ๐Ÿ™‚ Sorry about the conflicting info on the API ref
You should definitely pass it in.

trim cradle
#

OK thanks

wanton crag
#

NP! ๐Ÿ™‚

trim cradle
#

I dont fully understand the purpose of the location?

#

If we have 1,000 of people using our app should they all have a uniquie location?

#

Particularly with the Tap to pay feature?

#

Could we just set one location as we are not interested in the location of the device at the moment?

wanton crag
#

You can yes, setting a location basically allows you to differentiate readers. For example, a merchant onboards 1000 readers for 5 different locations. It would make it easier to identify which reader belongs to what location

trim cradle
#

Ok thank you

#

Thanks for the help ๐Ÿ™‚