Visa Developer Community

Helper

Add New Project Error

When i try to add a new project with VMPI API I'm getting error:
"We're sorry, the following error occurred.

Errors.server.common.undefined"
this is happening when i choose either Generate CSR or Submit my own.
What do i do wrong?
9 REPLIES 9
Visa Dev Moderator

Re: Add New Project Error

Hi,

 

Thank you for your interest in Visa Merchant Purchase Inquiry (VMPI) API. Access to VMPI will be available only on a case-by-case basis. In order to review your request, can you please provide the below details to developer@visa.com? 

 

This will help our product team understand your needs so the team can support you efficiently.   

 

  • Company legal name and address? 
  • URL?
  • Full Name? 
  • Your role?
  • Your email address associated with the company? 
  • Which countries will your application be used in?
  • Who are the processors that you are currently working with? 
  • Use Case Information?
  • Do you have a relationship with Visa (if yes, please provide the name)?
  • Are you a merchant, acquirer, issuer, or processor? 

 Please let me know if you have any questions.  

 

Thanks,

Jai

 

 

Highlighted
Helper

Re: Add New Project Error

Hi Jai, 

 

I have already submitted and received approval for VMPI API access.. This error I'm getting is when I'm trying to create a new project using this API. 

 

Thanks,

Dmitry

Visa Dev Moderator

Re: Add New Project Error

Hi Dmitry,

 

Thanks for the update. I just tried and I was able to create a project with VMPI API. Can you please try in Chrome Browser by clearing cache ?

 

If you are still receiving error, kindly provide me the x-correlation-id by following the below steps to help debug further. Also drop in an email to developer@visa.com with your VDP user id, so we can double check and confirm the access.

 

 

Below are the steps to get the Correlation ID using a Google Chrome browser. 

1>Open Chrome menu. 

2>Click on More tools then Developer tools. 

3>Check the box to Preserve Log for the Network Tab. 

4>Then try to log in to Visa Developer Center. Once you received the error message.  

5>You can find the Correlation ID in the network log for login issues. 

 

Thank you !

Jai

Helper

Re: Add New Project Error

Hi Jai, 
Here is my x-correlation-id:
X-CORRELATION-ID:
1550166883_792_81_l55p055m_VDP_ARM
 
Thanks,
Dmitry
Visa Dev Moderator

Re: Add New Project Error

Hi Dmitri,

 

From the logs, I see "Invalid CSR Uploaded". Did you try generating your own CSR file and tried to upload it ? For CSR generation, please refer to the below commands.  

 

Can you also try the default option (where Visa will generate CSR file and provide you the private key as a one time download) and provide me the x-correlation-id for the same ?

 

1. Generate Key Pair

openssl genrsa -out example-key.pem 2048

 

2. Create a new CSR using the following OpenSSL command: 

openssl req -new -sha256 -key example-key.pem -out example.csr -subj "/CN=<common name>/OU=<organization unit>/O=<organization name>/L=<city/locality name>/ST=<state name>/C=<country name>"

 

Note: For all fields, only the following ACSII characters are allowed.

  • Space character
  • Upper case A to Z
  • Lower case a to z
  • Digits 0 to 9
  • Dash (-)

Country Name

Two-letter International Standards Organization (ISO) 3166-1 country code. For example: US

State Name

Name of the state or province where the server is located. Spell out the name completely (Note: do not abbreviate). For example: California

Locality Name

A valid city name. For example: San Francisco

Organization Name

Name of your organization. For example: Bank of USA

Organizational Unit Name

Name of your division within your organization. For example: Debit Card Processing Unit

Common Name

This field must be a fully qualified domain name. Format should be alias/hostname.domainname.com. This cannot have wildcard characters for hostname and hostname should not be “www”. For example: services.visa.com

 

Thanks,

Jai

Helper

Re: Add New Project Error

Hi Jai, 

 

that x-correlation-id was for default option (Generate a CSR for me)...

Let me try to generate one on my own and i will try both options again..

Thanks,

Dmitry

Helper

Re: Add New Project Error

Hi Jai, 

 

Good news, when i generated my own CSR it worked!!! do you want me to try default option with "Generate a CSR for me"?

 

Thanks,

Dmitry

Visa Dev Moderator

Re: Add New Project Error

Glad it worked out Dmitry. Now that you have the project created, you can set up your VMPI end point URL and start testing the same according to your use case.  Please refer to the below link if you have any questions on configuring your call back endpoint.

 

https://developer.visa.com/pages/working-with-visa-apis/outbound-configuration

 

I have the x-correlation-id from the first time you tried for the default option. I have created an incident to debug this further.

 

Thanks,

Jai

Helper

Re: Add New Project Error

Thanks Jai for your help!!!