The loginID field is required.

Solved! Go to solution
MayurGowda
Regular Visitor

The loginID field is required.

Hello, 
I am working on implementing Visa CCRT report upload API, 

When I try to access an API "https://sandbox.api.visa.com/ccrt/v1/TSEZ/ReportUpload/1234?apikey=xxxxxxxI am always getting "LoginID field is required", can someone please help to find the root cause of the issue 
Below is a screenshot of the response 

VISA_Response.png
6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: The loginID field is required.

Hi @MayurGowda,

 

Which API product are you getting the error on? For a list of API products, please Browse All Product Documentation here: https://developer.visa.com/apibrowser 

 

To investigate the error, please provide us with the information below.

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.




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.

MayurGowda
Regular Visitor

Re: The loginID field is required.

Hello @API_Products 

 

Thank you for the quick response, please find the below response for your questions

 

Which API product are you getting the error on? 
I am getting error when I try to access the "Visa Chip L3 Testing Report Upload".

 

Please find the below information of Request/Response

1 . End Point : https://sandbox.api.visa.com/ccrt/v1/TSEZ/ReportUpload/1234?apikey=xxxxxxxxxx

 

2 . Request Header : 

Key = x-pay-token

Value = xv2:1691525681:552582081def7d3b51beb53237f1db0c6a0edf1b1c9d29c520c20af889618de2

 

3 . Request Body : N/A

 

4 . Response Header (include the x-correlation-id) : 

 

Spoiler
HTTP/1.1 400 
Server=nginx
Date=Tue, 08 Aug 2023 20:18:54 GMT
Content-Type=application/json;charset=utf-8
Content-Length=112
Conn

ection=keep-alive X-SERVED-BY=-6b78b6f4-9f4 X-CORRELATION-ID=1691525933_854_83897275_-6b78b6f4-9f4_VDP_WS X-ERROR-ORIGIN=9900 Cache-Control=no-cache, no-store, must-revalidate Pragma=no-cache Expires=0 ,-1 X-Frame-Options=SAMEORIGIN X-XSS-Protection=1; mode=block ,0 X-Content-Type-Options=nosniff Content-Security-Policy=default-src 'self'; script-src 'self' https://www.google.com https://www.gstatic.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://www.google.com https://www.gstatic.com 'unsafe-inline'; img-src 'self' data: 'unsafe-inline'; Content-Security-Policy=default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; X-Response-Time-ms=1 X-APP-STATUS=400 Strict-Transport-Security=max-age=31536000;includeSubdomains Content-Security-Policy-Report-Only=default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport; X-Content-Security-Policy-Report-Only=default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport; X-WebKit-CSP-Report-Only=default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;

 

5 . Response Body : 

Spoiler
{"code":400,"message":"The loginID field is required.","details":[{"message":"The loginID field is required."}]}

I hope this information will help you to find the root cause of the issue, if you need any further information please feel free to contact me.

 

Thank you. 

API_Products
Visa Developer Support Specialist

Re: The loginID field is required.

Hi @MayurGowda,

 

I've logged incident INC16551600 for our engineering team to investigate the error. I'll get back soon.




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.

API_Products
Visa Developer Support Specialist

Re: The loginID field is required.

Hi @MayurGowda,

 

Please share your request payload. 




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.

MayurGowda
Regular Visitor

Re: The loginID field is required.

Hello @API_Products 

My issue is fixed now.

 

Fix: Need to include "loginID=xxxxxxxxxx" in the query parameter.

 

Thanks for your support.

API_Products
Visa Developer Support Specialist

Re: The loginID field is required.

Hi @MayurGowda,

 

Thanks for letting us know the error is solved and how you solved it. Good job! 




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.