"User not enrolled or in-active, Device Id: 25b794-29a-4acb-9485-5a643d231f8U, Issuer Id: 123457\

Nicanor
Regular Visitor

"User not enrolled or in-active, Device Id: 25b794-29a-4acb-9485-5a643d231f8U, Issuer Id: 123457\

Hi all. I am starting to study the Visa API. I am trying to make a request (locationupdate) and I get error 203. I have tried to modify the user´s parameters and continue having the same problem. I am using this compiled: https://github.com/sirBobz/pyvdp


Traceback (most recent call last):
File "visa2.py", line 30, in <module>
result = locations.send(data)
File "/usr/local/lib/python3.6/dist-packages/pyvdp/mlc/locationupdate/locations.py", line 43, in send
return c.send()
File "/usr/local/lib/python3.6/dist-packages/pyvdp/logger.py", line 65, in wrapper
result = func(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/pyvdp/dispatcher.py", line 138, in send
return self._handle_response(response)
File "/usr/local/lib/python3.6/dist-packages/pyvdp/dispatcher.py", line 178, in _handle_response
raise self.ERROR_CODES.get(status_code, VisaGeneralError)(result=result)
pyvdp.exceptions.VisaMessageValidationError: {"request": {"body": "{\"accuracy\": \"5000\", \"cloudNotificationKey\": \"03e3ae03-a627-4241-bad6-58f811c18e46\", \"cloudNotificationProvider\": \"1\", \"deviceId\": \"25b794-29a-4acb-9485-5a643d231f8U\", \"deviceLocationDateTime\": \"2019-12-21T18:52:14.932Z\", \"geoLocationCoordinate\": {\"latitude\": \"37.55862902\", \"longitude\": \"-122.2773385\"}, \"header\": {\"messageDateTime\": \"2019-12-21T19:17:49.194431\", \"messageId\": \"2d099794-e69a-4acb-9485-5a643d231f51\"}, \"issuerId\": \"123457\", \"provider\": \"1\", \"source\": \"1\"}", "headers": {"_store": {"py/reduce": [{"py/type": "collections.OrderedDict"}, {"py/tuple": []}, null, null, {"py/tuple": [{"py/tuple": ["content-type", {"py/tuple": ["Content-Type", "application/json"]}]}, {"py/tuple": ["accept", {"py/tuple": ["Accept", "application/json"]}]}, {"py/tuple": ["x-client-transaction-id", {"py/tuple": ["X-Client-Transaction-ID", "750586999532"]}]}, {"py/tuple": ["content-length", {"py/tuple": ["Content-Length", "472"]}]}, {"py/tuple": ["authorization", {"py/tuple": ["Authorization", "Basic WFkxWFpZUUUzWVJRTTVKVTJKSkkyMU1hZWprUGVPeW9MYlMxa3VBaTByYS1hSmR4Zzp3VEU5cUo3N3REcTVRNjJPYjBYTEY2RDVEYmRlS09IMTY="]}]}]}]}, "py/object": "requests.structures.CaseInsensitiveDict"}, "method": "POST", "url": "https://sandbox.api.visa.com/mlc/locationupdate/v1/locations"}, "response": {"code": 400, "headers": {"_store": {"py/reduce": [{"py/type": "collections.OrderedDict"}, {"py/tuple": []}, null, null, {"py/tuple": [{"py/tuple": ["server", {"py/tuple": ["Server", "nginx"]}]}, {"py/tuple": ["content-type", {"py/tuple": ["Content-Type", "application/json"]}]}, {"py/tuple": ["content-length", {"py/tuple": ["Content-Length", "242"]}]}, {"py/tuple": ["x-served-by", {"py/tuple": ["X-SERVED-BY", "l73c013"]}]}, {"py/tuple": ["x-correlation-id", {"py/tuple": ["X-CORRELATION-ID", "1576955869_243_666966222_l73c013_VDP_WS"]}]}, {"py/tuple": ["x-backside-transport", {"py/tuple": ["X-Backside-Transport", "FAIL FAIL,FAIL FAIL"]}]}, {"py/tuple": ["x-cnection", {"py/tuple": ["X-Cnection", "Keep-Alive,close, close"]}]}, {"py/tuple": ["x-global-transaction-id", {"py/tuple": ["X-Global-Transaction-ID", "18dcb9c45dfe6fdd3b619111"]}]}, {"py/tuple": ["x-app-status", {"py/tuple": ["X-APP-STATUS", "400"]}]}, {"py/tuple": ["x-frame-options", {"py/tuple": ["X-Frame-Options", "SAMEORIGIN"]}]}, {"py/tuple": ["x-xss-protection", {"py/tuple": ["X-XSS-Protection", "1; mode=block"]}]}, {"py/tuple": ["x-content-type-options", {"py/tuple": ["X-Content-Type-Options", "nosniff"]}]}, {"py/tuple": ["strict-transport-security", {"py/tuple": ["Strict-Transport-Security", "max-age=2592000;includeSubdomains"]}]}, {"py/tuple": ["cache-control", {"py/tuple": ["Cache-Control", "no-cache, no-store, must-revalidate"]}]}, {"py/tuple": ["pragma", {"py/tuple": ["Pragma", "no-cache"]}]}, {"py/tuple": ["expires", {"py/tuple": ["Expires", "-1"]}]}, {"py/tuple": ["date", {"py/tuple": ["Date", "Sat, 21 Dec 2019 19:17:49 GMT"]}]}, {"py/tuple": ["connection", {"py/tuple": ["Connection", "close"]}]}]}]}, "py/object": "requests.structures.CaseInsensitiveDict"}, "message": "{\"status\":\"failed\",\"errorMessages\":[{\"errorCode\":\"203\",\"errorMessage\":\"User not enrolled or in-active, Device Id: 25b794-29a-4acb-9485-5a643d231f8U, Issuer Id: 123457\"}],\"header\":{\"messageId\":\"0\",\"messageDateTime\":\"2019-12-21T19:17:49.534Z\"}}"}}

1 REPLY 1
API_Products
Visa Developer Support Specialist

Re: "User not enrolled or in-active, Device Id: 25b794-29a-4acb-9485-5a643d231f8U, Issuer Id: 1

Hey @Nicanor,

 

Can you please let us know if you are an existing client? If you're an existing client, can you please let us know the company you are from?

 

From what you wrote, "I am starting to study the Visa API", it looks like you are a client who has not yet implemented or worked with Mobile Location Confirmation (MLC) yet. Please confirm if this is correct. Once you confirm this information, I'll be able to provide you with assistance.

 

 

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.